home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Hyper / H / HyperCard Techniques 5.0.sit / Techniques 5.0 / Techniques 5.0 / cards.xml < prev    next >
Encoding:
Text File  |  1994-05-30  |  369.5 KB  |  10,695 lines

  1. card_3034.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3034</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_27064.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>4079</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  13.     <part>
  14.         <id>79</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <false /> </enabled>
  23.         <rect>
  24.             <left>448</left>
  25.             <top>27</top>
  26.             <right>474</right>
  27.             <bottom>49</bottom>
  28.         </rect>
  29.         <style>transparent</style>
  30.         <showName> <false /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <false /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name></name>
  42.         <script></script>
  43.     </part>
  44.     <part>
  45.         <id>81</id>
  46.         <type>field</type>
  47.         <visible> <true /> </visible>
  48.         <dontWrap> <false /> </dontWrap>
  49.         <dontSearch> <false /> </dontSearch>
  50.         <sharedText> <false /> </sharedText>
  51.         <fixedLineHeight> <false /> </fixedLineHeight>
  52.         <autoTab> <false /> </autoTab>
  53.         <lockText> <true /> </lockText>
  54.         <rect>
  55.             <left>8</left>
  56.             <top>101</top>
  57.             <right>504</right>
  58.             <bottom>334</bottom>
  59.         </rect>
  60.         <style>opaque</style>
  61.         <autoSelect> <false /> </autoSelect>
  62.         <showLines> <false /> </showLines>
  63.         <wideMargins> <false /> </wideMargins>
  64.         <multipleLines> <false /> </multipleLines>
  65.         <reservedFamily> 0 </reservedFamily>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>0</icon>
  68.         <textAlign>center</textAlign>
  69.         <font>Geneva</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <textHeight>16</textHeight>
  73.         <name>about</name>
  74.         <script></script>
  75.     </part>
  76.     <part>
  77.         <id>84</id>
  78.         <type>button</type>
  79.         <visible> <true /> </visible>
  80.         <reserved5> 0 </reserved5>
  81.         <reserved4> 0 </reserved4>
  82.         <reserved3> 0 </reserved3>
  83.         <reserved2> 0 </reserved2>
  84.         <reserved1> 0 </reserved1>
  85.         <enabled> <true /> </enabled>
  86.         <rect>
  87.             <left>434</left>
  88.             <top>113</top>
  89.             <right>472</right>
  90.             <bottom>147</bottom>
  91.         </rect>
  92.         <style>transparent</style>
  93.         <showName> <false /> </showName>
  94.         <highlight> <false /> </highlight>
  95.         <autoHighlight> <true /> </autoHighlight>
  96.         <sharedHighlight> <true /> </sharedHighlight>
  97.         <family>0</family>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>14767</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Chicago</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>condense</textStyle>
  104.         <name>Thanks‚Ķ</name>
  105.         <script>on mouseUplock screenshow card field "thanks"unlock screen with zoom openend mouseUp</script>
  106.     </part>
  107.     <part>
  108.         <id>88</id>
  109.         <type>field</type>
  110.         <visible> <false /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <false /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <true /> </lockText>
  117.         <rect>
  118.             <left>290</left>
  119.             <top>101</top>
  120.             <right>500</right>
  121.             <bottom>297</bottom>
  122.         </rect>
  123.         <style>shadow</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <true /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name>thanks</name>
  137.         <script>on mouseUphide meend mouseUp</script>
  138.     </part>
  139.     <content>
  140.         <layer>card</layer>
  141.         <id>81</id>
  142.         <text><span class="style3">ersion 5.0</span><span class="style14">by Genevi√®ve Crabe</span><span class="style8">CompuServe: 72520,1110America Online: GCrabeInternet: aa729@freenet.carleton.ca</span><span class="style9">This is a stack of HyperCard‚Ñ¢ and HyperTalk‚Ñ¢ techniqueswhich you might find useful in your own stack development.Click the </span><span class="style10">right arrow</span><span class="style9"> button (upper right) to begin.</span><span class="style11"></span><span class="style9">This stack may be distributed freely as long as it is not modified or sold for profit.</span><span class="style4"></span><span class="style8">¬©1989-1994 Genevi√®ve Crabe</span></text>
  143.     </content>
  144.     <content>
  145.         <layer>card</layer>
  146.         <id>88</id>
  147.         <text><span class="style1"> would like to thank the beta-testerswho volunteered to try out this stackat various stages of development.Thanks also to the members of the</span><span class="style3">National Capital Macintosh ClubHyperCard SIG</span><span class="style1">for their help and suggestions.Special thanks to</span><span class="style3">Jonathan CloudDouglas Dickinson</span><span class="style1">(click on this field to hide it)</span><span class="style19"></span></text>
  148.     </content>
  149.     <name></name>
  150.     <script>on closeCardhide card field "thanks"pass closeCardend closeCard</script>
  151. </card>
  152.  
  153.  
  154. card_21116.xml
  155. <?xml version="1.0" encoding="utf-8" ?>
  156. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  157. <card>
  158.     <id>21116</id>
  159.     <filler1>0</filler1>
  160.     <bitmap>BMAP_11033.pbm</bitmap>
  161.     <cantDelete> <false /> </cantDelete>
  162.     <showPict> <true /> </showPict>
  163.     <dontSearch> <false /> </dontSearch>
  164.     <owner>4079</owner>
  165.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  166.     <part>
  167.         <id>22</id>
  168.         <type>button</type>
  169.         <visible> <true /> </visible>
  170.         <reserved5> 0 </reserved5>
  171.         <reserved4> 0 </reserved4>
  172.         <reserved3> 0 </reserved3>
  173.         <reserved2> 0 </reserved2>
  174.         <reserved1> 0 </reserved1>
  175.         <enabled> <true /> </enabled>
  176.         <rect>
  177.             <left>380</left>
  178.             <top>30</top>
  179.             <right>437</right>
  180.             <bottom>46</bottom>
  181.         </rect>
  182.         <style>transparent</style>
  183.         <showName> <false /> </showName>
  184.         <highlight> <false /> </highlight>
  185.         <autoHighlight> <true /> </autoHighlight>
  186.         <sharedHighlight> <true /> </sharedHighlight>
  187.         <family>0</family>
  188.         <titleWidth>0</titleWidth>
  189.         <icon>0</icon>
  190.         <textAlign>center</textAlign>
  191.         <font>Chicago</font>
  192.         <textSize>12</textSize>
  193.         <textStyle>plain</textStyle>
  194.         <name>Help</name>
  195.         <script>on mouseUpvisual effect dissolvepush cardgo to card "help"end mouseUp</script>
  196.     </part>
  197.     <part>
  198.         <id>26</id>
  199.         <type>button</type>
  200.         <visible> <true /> </visible>
  201.         <reserved5> 0 </reserved5>
  202.         <reserved4> 0 </reserved4>
  203.         <reserved3> 0 </reserved3>
  204.         <reserved2> 0 </reserved2>
  205.         <reserved1> 0 </reserved1>
  206.         <enabled> <true /> </enabled>
  207.         <rect>
  208.             <left>17</left>
  209.             <top>81</top>
  210.             <right>174</right>
  211.             <bottom>96</bottom>
  212.         </rect>
  213.         <style>transparent</style>
  214.         <showName> <true /> </showName>
  215.         <highlight> <false /> </highlight>
  216.         <autoHighlight> <true /> </autoHighlight>
  217.         <sharedHighlight> <true /> </sharedHighlight>
  218.         <family>0</family>
  219.         <titleWidth>0</titleWidth>
  220.         <icon>0</icon>
  221.         <textAlign>left</textAlign>
  222.         <font>Geneva</font>
  223.         <textSize>9</textSize>
  224.         <textStyle>plain</textStyle>
  225.         <name>‚Ä¢ Pop-up Fields</name>
  226.         <script>on mouseUpsectionButtonend mouseUp</script>
  227.     </part>
  228.     <part>
  229.         <id>49</id>
  230.         <type>button</type>
  231.         <visible> <true /> </visible>
  232.         <reserved5> 0 </reserved5>
  233.         <reserved4> 0 </reserved4>
  234.         <reserved3> 0 </reserved3>
  235.         <reserved2> 0 </reserved2>
  236.         <reserved1> 0 </reserved1>
  237.         <enabled> <true /> </enabled>
  238.         <rect>
  239.             <left>17</left>
  240.             <top>96</top>
  241.             <right>174</right>
  242.             <bottom>111</bottom>
  243.         </rect>
  244.         <style>transparent</style>
  245.         <showName> <true /> </showName>
  246.         <highlight> <false /> </highlight>
  247.         <autoHighlight> <true /> </autoHighlight>
  248.         <sharedHighlight> <true /> </sharedHighlight>
  249.         <family>0</family>
  250.         <titleWidth>0</titleWidth>
  251.         <icon>0</icon>
  252.         <textAlign>left</textAlign>
  253.         <font>Geneva</font>
  254.         <textSize>9</textSize>
  255.         <textStyle>plain</textStyle>
  256.         <name>‚Ä¢ Mouse Locator</name>
  257.         <script>on mouseUpsectionButtonend mouseUp</script>
  258.     </part>
  259.     <part>
  260.         <id>50</id>
  261.         <type>button</type>
  262.         <visible> <true /> </visible>
  263.         <reserved5> 0 </reserved5>
  264.         <reserved4> 0 </reserved4>
  265.         <reserved3> 0 </reserved3>
  266.         <reserved2> 0 </reserved2>
  267.         <reserved1> 0 </reserved1>
  268.         <enabled> <true /> </enabled>
  269.         <rect>
  270.             <left>15</left>
  271.             <top>111</top>
  272.             <right>174</right>
  273.             <bottom>126</bottom>
  274.         </rect>
  275.         <style>transparent</style>
  276.         <showName> <true /> </showName>
  277.         <highlight> <false /> </highlight>
  278.         <autoHighlight> <true /> </autoHighlight>
  279.         <sharedHighlight> <true /> </sharedHighlight>
  280.         <family>0</family>
  281.         <titleWidth>0</titleWidth>
  282.         <icon>0</icon>
  283.         <textAlign>left</textAlign>
  284.         <font>Geneva</font>
  285.         <textSize>9</textSize>
  286.         <textStyle>plain</textStyle>
  287.         <name>‚Ä¢ Drag a Button</name>
  288.         <script>on mouseUpsectionButtonend mouseUp</script>
  289.     </part>
  290.     <part>
  291.         <id>51</id>
  292.         <type>button</type>
  293.         <visible> <true /> </visible>
  294.         <reserved5> 0 </reserved5>
  295.         <reserved4> 0 </reserved4>
  296.         <reserved3> 0 </reserved3>
  297.         <reserved2> 0 </reserved2>
  298.         <reserved1> 0 </reserved1>
  299.         <enabled> <true /> </enabled>
  300.         <rect>
  301.             <left>15</left>
  302.             <top>126</top>
  303.             <right>174</right>
  304.             <bottom>141</bottom>
  305.         </rect>
  306.         <style>transparent</style>
  307.         <showName> <true /> </showName>
  308.         <highlight> <false /> </highlight>
  309.         <autoHighlight> <true /> </autoHighlight>
  310.         <sharedHighlight> <true /> </sharedHighlight>
  311.         <family>0</family>
  312.         <titleWidth>0</titleWidth>
  313.         <icon>0</icon>
  314.         <textAlign>left</textAlign>
  315.         <font>Geneva</font>
  316.         <textSize>9</textSize>
  317.         <textStyle>plain</textStyle>
  318.         <name>‚Ä¢ Click and Enter Text</name>
  319.         <script>on mouseUpsectionButtonend mouseUp</script>
  320.     </part>
  321.     <part>
  322.         <id>52</id>
  323.         <type>button</type>
  324.         <visible> <true /> </visible>
  325.         <reserved5> 0 </reserved5>
  326.         <reserved4> 0 </reserved4>
  327.         <reserved3> 0 </reserved3>
  328.         <reserved2> 0 </reserved2>
  329.         <reserved1> 0 </reserved1>
  330.         <enabled> <true /> </enabled>
  331.         <rect>
  332.             <left>17</left>
  333.             <top>141</top>
  334.             <right>174</right>
  335.             <bottom>156</bottom>
  336.         </rect>
  337.         <style>transparent</style>
  338.         <showName> <true /> </showName>
  339.         <highlight> <false /> </highlight>
  340.         <autoHighlight> <true /> </autoHighlight>
  341.         <sharedHighlight> <true /> </sharedHighlight>
  342.         <family>0</family>
  343.         <titleWidth>0</titleWidth>
  344.         <icon>0</icon>
  345.         <textAlign>left</textAlign>
  346.         <font>Geneva</font>
  347.         <textSize>9</textSize>
  348.         <textStyle>plain</textStyle>
  349.         <name>‚Ä¢ Changing Button Label</name>
  350.         <script>on mouseUpsectionButtonend mouseUp</script>
  351.     </part>
  352.     <part>
  353.         <id>53</id>
  354.         <type>button</type>
  355.         <visible> <true /> </visible>
  356.         <reserved5> 0 </reserved5>
  357.         <reserved4> 0 </reserved4>
  358.         <reserved3> 0 </reserved3>
  359.         <reserved2> 0 </reserved2>
  360.         <reserved1> 0 </reserved1>
  361.         <enabled> <true /> </enabled>
  362.         <rect>
  363.             <left>17</left>
  364.             <top>156</top>
  365.             <right>174</right>
  366.             <bottom>171</bottom>
  367.         </rect>
  368.         <style>transparent</style>
  369.         <showName> <true /> </showName>
  370.         <highlight> <false /> </highlight>
  371.         <autoHighlight> <true /> </autoHighlight>
  372.         <sharedHighlight> <true /> </sharedHighlight>
  373.         <family>0</family>
  374.         <titleWidth>0</titleWidth>
  375.         <icon>0</icon>
  376.         <textAlign>left</textAlign>
  377.         <font>Geneva</font>
  378.         <textSize>9</textSize>
  379.         <textStyle>plain</textStyle>
  380.         <name>‚Ä¢ Detect Double-click</name>
  381.         <script>on mouseUpsectionButtonend mouseUp</script>
  382.     </part>
  383.     <part>
  384.         <id>54</id>
  385.         <type>button</type>
  386.         <visible> <true /> </visible>
  387.         <reserved5> 0 </reserved5>
  388.         <reserved4> 0 </reserved4>
  389.         <reserved3> 0 </reserved3>
  390.         <reserved2> 0 </reserved2>
  391.         <reserved1> 0 </reserved1>
  392.         <enabled> <true /> </enabled>
  393.         <rect>
  394.             <left>17</left>
  395.             <top>171</top>
  396.             <right>174</right>
  397.             <bottom>186</bottom>
  398.         </rect>
  399.         <style>transparent</style>
  400.         <showName> <true /> </showName>
  401.         <highlight> <false /> </highlight>
  402.         <autoHighlight> <true /> </autoHighlight>
  403.         <sharedHighlight> <true /> </sharedHighlight>
  404.         <family>0</family>
  405.         <titleWidth>0</titleWidth>
  406.         <icon>0</icon>
  407.         <textAlign>left</textAlign>
  408.         <font>Geneva</font>
  409.         <textSize>9</textSize>
  410.         <textStyle>plain</textStyle>
  411.         <name>‚Ä¢ Flashing Icons</name>
  412.         <script>on mouseUpsectionButtonend mouseUp</script>
  413.     </part>
  414.     <part>
  415.         <id>55</id>
  416.         <type>button</type>
  417.         <visible> <true /> </visible>
  418.         <reserved5> 0 </reserved5>
  419.         <reserved4> 0 </reserved4>
  420.         <reserved3> 0 </reserved3>
  421.         <reserved2> 0 </reserved2>
  422.         <reserved1> 0 </reserved1>
  423.         <enabled> <true /> </enabled>
  424.         <rect>
  425.             <left>17</left>
  426.             <top>186</top>
  427.             <right>174</right>
  428.             <bottom>201</bottom>
  429.         </rect>
  430.         <style>transparent</style>
  431.         <showName> <true /> </showName>
  432.         <highlight> <false /> </highlight>
  433.         <autoHighlight> <true /> </autoHighlight>
  434.         <sharedHighlight> <true /> </sharedHighlight>
  435.         <family>0</family>
  436.         <titleWidth>0</titleWidth>
  437.         <icon>0</icon>
  438.         <textAlign>left</textAlign>
  439.         <font>Geneva</font>
  440.         <textSize>9</textSize>
  441.         <textStyle>plain</textStyle>
  442.         <name>‚Ä¢ List Field</name>
  443.         <script>on mouseUpsectionButtonend mouseUp</script>
  444.     </part>
  445.     <part>
  446.         <id>56</id>
  447.         <type>button</type>
  448.         <visible> <true /> </visible>
  449.         <reserved5> 0 </reserved5>
  450.         <reserved4> 0 </reserved4>
  451.         <reserved3> 0 </reserved3>
  452.         <reserved2> 0 </reserved2>
  453.         <reserved1> 0 </reserved1>
  454.         <enabled> <true /> </enabled>
  455.         <rect>
  456.             <left>17</left>
  457.             <top>201</top>
  458.             <right>174</right>
  459.             <bottom>216</bottom>
  460.         </rect>
  461.         <style>transparent</style>
  462.         <showName> <true /> </showName>
  463.         <highlight> <false /> </highlight>
  464.         <autoHighlight> <true /> </autoHighlight>
  465.         <sharedHighlight> <true /> </sharedHighlight>
  466.         <family>0</family>
  467.         <titleWidth>0</titleWidth>
  468.         <icon>0</icon>
  469.         <textAlign>left</textAlign>
  470.         <font>Geneva</font>
  471.         <textSize>9</textSize>
  472.         <textStyle>plain</textStyle>
  473.         <name>‚Ä¢ Click on a Word in a Field</name>
  474.         <script>on mouseUpsectionButtonend mouseUp</script>
  475.     </part>
  476.     <part>
  477.         <id>57</id>
  478.         <type>button</type>
  479.         <visible> <true /> </visible>
  480.         <reserved5> 0 </reserved5>
  481.         <reserved4> 0 </reserved4>
  482.         <reserved3> 0 </reserved3>
  483.         <reserved2> 0 </reserved2>
  484.         <reserved1> 0 </reserved1>
  485.         <enabled> <true /> </enabled>
  486.         <rect>
  487.             <left>17</left>
  488.             <top>216</top>
  489.             <right>174</right>
  490.             <bottom>231</bottom>
  491.         </rect>
  492.         <style>transparent</style>
  493.         <showName> <true /> </showName>
  494.         <highlight> <false /> </highlight>
  495.         <autoHighlight> <true /> </autoHighlight>
  496.         <sharedHighlight> <true /> </sharedHighlight>
  497.         <family>0</family>
  498.         <titleWidth>0</titleWidth>
  499.         <icon>0</icon>
  500.         <textAlign>left</textAlign>
  501.         <font>Geneva</font>
  502.         <textSize>9</textSize>
  503.         <textStyle>plain</textStyle>
  504.         <name>‚Ä¢ Moving Bars</name>
  505.         <script>on mouseUpsectionButtonend mouseUp</script>
  506.     </part>
  507.     <part>
  508.         <id>58</id>
  509.         <type>button</type>
  510.         <visible> <true /> </visible>
  511.         <reserved5> 0 </reserved5>
  512.         <reserved4> 0 </reserved4>
  513.         <reserved3> 0 </reserved3>
  514.         <reserved2> 0 </reserved2>
  515.         <reserved1> 0 </reserved1>
  516.         <enabled> <true /> </enabled>
  517.         <rect>
  518.             <left>17</left>
  519.             <top>231</top>
  520.             <right>174</right>
  521.             <bottom>246</bottom>
  522.         </rect>
  523.         <style>transparent</style>
  524.         <showName> <true /> </showName>
  525.         <highlight> <false /> </highlight>
  526.         <autoHighlight> <true /> </autoHighlight>
  527.         <sharedHighlight> <true /> </sharedHighlight>
  528.         <family>0</family>
  529.         <titleWidth>0</titleWidth>
  530.         <icon>0</icon>
  531.         <textAlign>left</textAlign>
  532.         <font>Geneva</font>
  533.         <textSize>9</textSize>
  534.         <textStyle>plain</textStyle>
  535.         <name>‚Ä¢ Remembering Information</name>
  536.         <script>on mouseUpsectionButtonend mouseUp</script>
  537.     </part>
  538.     <part>
  539.         <id>59</id>
  540.         <type>button</type>
  541.         <visible> <true /> </visible>
  542.         <reserved5> 0 </reserved5>
  543.         <reserved4> 0 </reserved4>
  544.         <reserved3> 0 </reserved3>
  545.         <reserved2> 0 </reserved2>
  546.         <reserved1> 0 </reserved1>
  547.         <enabled> <true /> </enabled>
  548.         <rect>
  549.             <left>17</left>
  550.             <top>246</top>
  551.             <right>174</right>
  552.             <bottom>261</bottom>
  553.         </rect>
  554.         <style>transparent</style>
  555.         <showName> <true /> </showName>
  556.         <highlight> <false /> </highlight>
  557.         <autoHighlight> <true /> </autoHighlight>
  558.         <sharedHighlight> <true /> </sharedHighlight>
  559.         <family>0</family>
  560.         <titleWidth>0</titleWidth>
  561.         <icon>0</icon>
  562.         <textAlign>left</textAlign>
  563.         <font>Geneva</font>
  564.         <textSize>9</textSize>
  565.         <textStyle>plain</textStyle>
  566.         <name>‚Ä¢ Copy and Paste Text</name>
  567.         <script>on mouseUpsectionButtonend mouseUp</script>
  568.     </part>
  569.     <part>
  570.         <id>60</id>
  571.         <type>button</type>
  572.         <visible> <true /> </visible>
  573.         <reserved5> 0 </reserved5>
  574.         <reserved4> 0 </reserved4>
  575.         <reserved3> 0 </reserved3>
  576.         <reserved2> 0 </reserved2>
  577.         <reserved1> 0 </reserved1>
  578.         <enabled> <true /> </enabled>
  579.         <rect>
  580.             <left>17</left>
  581.             <top>261</top>
  582.             <right>174</right>
  583.             <bottom>276</bottom>
  584.         </rect>
  585.         <style>transparent</style>
  586.         <showName> <true /> </showName>
  587.         <highlight> <false /> </highlight>
  588.         <autoHighlight> <true /> </autoHighlight>
  589.         <sharedHighlight> <true /> </sharedHighlight>
  590.         <family>0</family>
  591.         <titleWidth>0</titleWidth>
  592.         <icon>0</icon>
  593.         <textAlign>left</textAlign>
  594.         <font>Geneva</font>
  595.         <textSize>9</textSize>
  596.         <textStyle>plain</textStyle>
  597.         <name>‚Ä¢ Pop-up Graphics</name>
  598.         <script>on mouseUpsectionButtonend mouseUp</script>
  599.     </part>
  600.     <part>
  601.         <id>61</id>
  602.         <type>button</type>
  603.         <visible> <true /> </visible>
  604.         <reserved5> 0 </reserved5>
  605.         <reserved4> 0 </reserved4>
  606.         <reserved3> 0 </reserved3>
  607.         <reserved2> 0 </reserved2>
  608.         <reserved1> 0 </reserved1>
  609.         <enabled> <true /> </enabled>
  610.         <rect>
  611.             <left>17</left>
  612.             <top>276</top>
  613.             <right>174</right>
  614.             <bottom>291</bottom>
  615.         </rect>
  616.         <style>transparent</style>
  617.         <showName> <true /> </showName>
  618.         <highlight> <false /> </highlight>
  619.         <autoHighlight> <true /> </autoHighlight>
  620.         <sharedHighlight> <true /> </sharedHighlight>
  621.         <family>0</family>
  622.         <titleWidth>0</titleWidth>
  623.         <icon>0</icon>
  624.         <textAlign>left</textAlign>
  625.         <font>Geneva</font>
  626.         <textSize>9</textSize>
  627.         <textStyle>plain</textStyle>
  628.         <name>‚Ä¢ Radio Buttons</name>
  629.         <script>on mouseUpsectionButtonend mouseUp</script>
  630.     </part>
  631.     <part>
  632.         <id>62</id>
  633.         <type>button</type>
  634.         <visible> <true /> </visible>
  635.         <reserved5> 0 </reserved5>
  636.         <reserved4> 0 </reserved4>
  637.         <reserved3> 0 </reserved3>
  638.         <reserved2> 0 </reserved2>
  639.         <reserved1> 0 </reserved1>
  640.         <enabled> <true /> </enabled>
  641.         <rect>
  642.             <left>17</left>
  643.             <top>291</top>
  644.             <right>174</right>
  645.             <bottom>306</bottom>
  646.         </rect>
  647.         <style>transparent</style>
  648.         <showName> <true /> </showName>
  649.         <highlight> <false /> </highlight>
  650.         <autoHighlight> <true /> </autoHighlight>
  651.         <sharedHighlight> <true /> </sharedHighlight>
  652.         <family>0</family>
  653.         <titleWidth>0</titleWidth>
  654.         <icon>0</icon>
  655.         <textAlign>left</textAlign>
  656.         <font>Geneva</font>
  657.         <textSize>9</textSize>
  658.         <textStyle>plain</textStyle>
  659.         <name>‚Ä¢ Current Time in a Field</name>
  660.         <script>on mouseUpsectionButtonend mouseUp</script>
  661.     </part>
  662.     <part>
  663.         <id>63</id>
  664.         <type>button</type>
  665.         <visible> <true /> </visible>
  666.         <reserved5> 0 </reserved5>
  667.         <reserved4> 0 </reserved4>
  668.         <reserved3> 0 </reserved3>
  669.         <reserved2> 0 </reserved2>
  670.         <reserved1> 0 </reserved1>
  671.         <enabled> <true /> </enabled>
  672.         <rect>
  673.             <left>179</left>
  674.             <top>81</top>
  675.             <right>336</right>
  676.             <bottom>96</bottom>
  677.         </rect>
  678.         <style>transparent</style>
  679.         <showName> <true /> </showName>
  680.         <highlight> <false /> </highlight>
  681.         <autoHighlight> <true /> </autoHighlight>
  682.         <sharedHighlight> <true /> </sharedHighlight>
  683.         <family>0</family>
  684.         <titleWidth>0</titleWidth>
  685.         <icon>0</icon>
  686.         <textAlign>left</textAlign>
  687.         <font>Geneva</font>
  688.         <textSize>9</textSize>
  689.         <textStyle>plain</textStyle>
  690.         <name>‚Ä¢ Read/Write Text File</name>
  691.         <script>on mouseUpsectionButtonend mouseUp</script>
  692.     </part>
  693.     <part>
  694.         <id>64</id>
  695.         <type>button</type>
  696.         <visible> <true /> </visible>
  697.         <reserved5> 0 </reserved5>
  698.         <reserved4> 0 </reserved4>
  699.         <reserved3> 0 </reserved3>
  700.         <reserved2> 0 </reserved2>
  701.         <reserved1> 0 </reserved1>
  702.         <enabled> <true /> </enabled>
  703.         <rect>
  704.             <left>179</left>
  705.             <top>96</top>
  706.             <right>336</right>
  707.             <bottom>111</bottom>
  708.         </rect>
  709.         <style>transparent</style>
  710.         <showName> <true /> </showName>
  711.         <highlight> <false /> </highlight>
  712.         <autoHighlight> <true /> </autoHighlight>
  713.         <sharedHighlight> <true /> </sharedHighlight>
  714.         <family>0</family>
  715.         <titleWidth>0</titleWidth>
  716.         <icon>0</icon>
  717.         <textAlign>left</textAlign>
  718.         <font>Geneva</font>
  719.         <textSize>9</textSize>
  720.         <textStyle>plain</textStyle>
  721.         <name>‚Ä¢ Highlighting Buttons</name>
  722.         <script>on mouseUpsectionButtonend mouseUp</script>
  723.     </part>
  724.     <part>
  725.         <id>65</id>
  726.         <type>button</type>
  727.         <visible> <true /> </visible>
  728.         <reserved5> 0 </reserved5>
  729.         <reserved4> 0 </reserved4>
  730.         <reserved3> 0 </reserved3>
  731.         <reserved2> 0 </reserved2>
  732.         <reserved1> 0 </reserved1>
  733.         <enabled> <true /> </enabled>
  734.         <rect>
  735.             <left>179</left>
  736.             <top>126</top>
  737.             <right>336</right>
  738.             <bottom>141</bottom>
  739.         </rect>
  740.         <style>transparent</style>
  741.         <showName> <true /> </showName>
  742.         <highlight> <false /> </highlight>
  743.         <autoHighlight> <true /> </autoHighlight>
  744.         <sharedHighlight> <true /> </sharedHighlight>
  745.         <family>0</family>
  746.         <titleWidth>0</titleWidth>
  747.         <icon>0</icon>
  748.         <textAlign>left</textAlign>
  749.         <font>Geneva</font>
  750.         <textSize>9</textSize>
  751.         <textStyle>plain</textStyle>
  752.         <name>‚Ä¢ Visual Effect Examples</name>
  753.         <script>on mouseUpsectionButtonend mouseUp</script>
  754.     </part>
  755.     <part>
  756.         <id>66</id>
  757.         <type>button</type>
  758.         <visible> <true /> </visible>
  759.         <reserved5> 0 </reserved5>
  760.         <reserved4> 0 </reserved4>
  761.         <reserved3> 0 </reserved3>
  762.         <reserved2> 0 </reserved2>
  763.         <reserved1> 0 </reserved1>
  764.         <enabled> <true /> </enabled>
  765.         <rect>
  766.             <left>179</left>
  767.             <top>156</top>
  768.             <right>336</right>
  769.             <bottom>171</bottom>
  770.         </rect>
  771.         <style>transparent</style>
  772.         <showName> <true /> </showName>
  773.         <highlight> <false /> </highlight>
  774.         <autoHighlight> <true /> </autoHighlight>
  775.         <sharedHighlight> <true /> </sharedHighlight>
  776.         <family>0</family>
  777.         <titleWidth>0</titleWidth>
  778.         <icon>0</icon>
  779.         <textAlign>left</textAlign>
  780.         <font>Geneva</font>
  781.         <textSize>9</textSize>
  782.         <textStyle>plain</textStyle>
  783.         <name>‚Ä¢ Date of Last Change</name>
  784.         <script>on mouseUpsectionButtonend mouseUp</script>
  785.     </part>
  786.     <part>
  787.         <id>67</id>
  788.         <type>button</type>
  789.         <visible> <true /> </visible>
  790.         <reserved5> 0 </reserved5>
  791.         <reserved4> 0 </reserved4>
  792.         <reserved3> 0 </reserved3>
  793.         <reserved2> 0 </reserved2>
  794.         <reserved1> 0 </reserved1>
  795.         <enabled> <true /> </enabled>
  796.         <rect>
  797.             <left>179</left>
  798.             <top>171</top>
  799.             <right>336</right>
  800.             <bottom>186</bottom>
  801.         </rect>
  802.         <style>transparent</style>
  803.         <showName> <true /> </showName>
  804.         <highlight> <false /> </highlight>
  805.         <autoHighlight> <true /> </autoHighlight>
  806.         <sharedHighlight> <true /> </sharedHighlight>
  807.         <family>0</family>
  808.         <titleWidth>0</titleWidth>
  809.         <icon>0</icon>
  810.         <textAlign>left</textAlign>
  811.         <font>Geneva</font>
  812.         <textSize>9</textSize>
  813.         <textStyle>plain</textStyle>
  814.         <name>‚Ä¢ Auto-Scrolling Field</name>
  815.         <script>on mouseUpsectionButtonend mouseUp</script>
  816.     </part>
  817.     <part>
  818.         <id>68</id>
  819.         <type>button</type>
  820.         <visible> <true /> </visible>
  821.         <reserved5> 0 </reserved5>
  822.         <reserved4> 0 </reserved4>
  823.         <reserved3> 0 </reserved3>
  824.         <reserved2> 0 </reserved2>
  825.         <reserved1> 0 </reserved1>
  826.         <enabled> <true /> </enabled>
  827.         <rect>
  828.             <left>179</left>
  829.             <top>186</top>
  830.             <right>336</right>
  831.             <bottom>201</bottom>
  832.         </rect>
  833.         <style>transparent</style>
  834.         <showName> <true /> </showName>
  835.         <highlight> <false /> </highlight>
  836.         <autoHighlight> <true /> </autoHighlight>
  837.         <sharedHighlight> <true /> </sharedHighlight>
  838.         <family>0</family>
  839.         <titleWidth>0</titleWidth>
  840.         <icon>0</icon>
  841.         <textAlign>left</textAlign>
  842.         <font>Geneva</font>
  843.         <textSize>9</textSize>
  844.         <textStyle>plain</textStyle>
  845.         <name>‚Ä¢ Useful Functions</name>
  846.         <script>on mouseUpsectionButtonend mouseUp</script>
  847.     </part>
  848.     <part>
  849.         <id>69</id>
  850.         <type>button</type>
  851.         <visible> <true /> </visible>
  852.         <reserved5> 0 </reserved5>
  853.         <reserved4> 0 </reserved4>
  854.         <reserved3> 0 </reserved3>
  855.         <reserved2> 0 </reserved2>
  856.         <reserved1> 0 </reserved1>
  857.         <enabled> <true /> </enabled>
  858.         <rect>
  859.             <left>179</left>
  860.             <top>231</top>
  861.             <right>336</right>
  862.             <bottom>246</bottom>
  863.         </rect>
  864.         <style>transparent</style>
  865.         <showName> <true /> </showName>
  866.         <highlight> <false /> </highlight>
  867.         <autoHighlight> <true /> </autoHighlight>
  868.         <sharedHighlight> <true /> </sharedHighlight>
  869.         <family>0</family>
  870.         <titleWidth>0</titleWidth>
  871.         <icon>0</icon>
  872.         <textAlign>left</textAlign>
  873.         <font>Geneva</font>
  874.         <textSize>9</textSize>
  875.         <textStyle>plain</textStyle>
  876.         <name>‚Ä¢ Inverted Text</name>
  877.         <script>on mouseUpsectionButtonend mouseUp</script>
  878.     </part>
  879.     <part>
  880.         <id>70</id>
  881.         <type>button</type>
  882.         <visible> <true /> </visible>
  883.         <reserved5> 0 </reserved5>
  884.         <reserved4> 0 </reserved4>
  885.         <reserved3> 0 </reserved3>
  886.         <reserved2> 0 </reserved2>
  887.         <reserved1> 0 </reserved1>
  888.         <enabled> <true /> </enabled>
  889.         <rect>
  890.             <left>179</left>
  891.             <top>246</top>
  892.             <right>336</right>
  893.             <bottom>261</bottom>
  894.         </rect>
  895.         <style>transparent</style>
  896.         <showName> <true /> </showName>
  897.         <highlight> <false /> </highlight>
  898.         <autoHighlight> <true /> </autoHighlight>
  899.         <sharedHighlight> <true /> </sharedHighlight>
  900.         <family>0</family>
  901.         <titleWidth>0</titleWidth>
  902.         <icon>0</icon>
  903.         <textAlign>left</textAlign>
  904.         <font>Geneva</font>
  905.         <textSize>9</textSize>
  906.         <textStyle>plain</textStyle>
  907.         <name>‚Ä¢ Inactive Buttons</name>
  908.         <script>on mouseUpsectionButtonend mouseUp</script>
  909.     </part>
  910.     <part>
  911.         <id>71</id>
  912.         <type>button</type>
  913.         <visible> <true /> </visible>
  914.         <reserved5> 0 </reserved5>
  915.         <reserved4> 0 </reserved4>
  916.         <reserved3> 0 </reserved3>
  917.         <reserved2> 0 </reserved2>
  918.         <reserved1> 0 </reserved1>
  919.         <enabled> <true /> </enabled>
  920.         <rect>
  921.             <left>341</left>
  922.             <top>96</top>
  923.             <right>498</right>
  924.             <bottom>111</bottom>
  925.         </rect>
  926.         <style>transparent</style>
  927.         <showName> <true /> </showName>
  928.         <highlight> <false /> </highlight>
  929.         <autoHighlight> <true /> </autoHighlight>
  930.         <sharedHighlight> <true /> </sharedHighlight>
  931.         <family>0</family>
  932.         <titleWidth>0</titleWidth>
  933.         <icon>0</icon>
  934.         <textAlign>left</textAlign>
  935.         <font>Geneva</font>
  936.         <textSize>9</textSize>
  937.         <textStyle>plain</textStyle>
  938.         <name>‚Ä¢ Animation with Icons</name>
  939.         <script>on mouseUpsectionButtonend mouseUp</script>
  940.     </part>
  941.     <part>
  942.         <id>73</id>
  943.         <type>button</type>
  944.         <visible> <true /> </visible>
  945.         <reserved5> 0 </reserved5>
  946.         <reserved4> 0 </reserved4>
  947.         <reserved3> 0 </reserved3>
  948.         <reserved2> 0 </reserved2>
  949.         <reserved1> 0 </reserved1>
  950.         <enabled> <true /> </enabled>
  951.         <rect>
  952.             <left>179</left>
  953.             <top>261</top>
  954.             <right>336</right>
  955.             <bottom>276</bottom>
  956.         </rect>
  957.         <style>transparent</style>
  958.         <showName> <true /> </showName>
  959.         <highlight> <false /> </highlight>
  960.         <autoHighlight> <true /> </autoHighlight>
  961.         <sharedHighlight> <true /> </sharedHighlight>
  962.         <family>0</family>
  963.         <titleWidth>0</titleWidth>
  964.         <icon>0</icon>
  965.         <textAlign>left</textAlign>
  966.         <font>Geneva</font>
  967.         <textSize>9</textSize>
  968.         <textStyle>plain</textStyle>
  969.         <name>‚Ä¢ Spreadsheet-like Fields</name>
  970.         <script>on mouseUpsectionButtonend mouseUp</script>
  971.     </part>
  972.     <part>
  973.         <id>74</id>
  974.         <type>button</type>
  975.         <visible> <true /> </visible>
  976.         <reserved5> 0 </reserved5>
  977.         <reserved4> 0 </reserved4>
  978.         <reserved3> 0 </reserved3>
  979.         <reserved2> 0 </reserved2>
  980.         <reserved1> 0 </reserved1>
  981.         <enabled> <true /> </enabled>
  982.         <rect>
  983.             <left>179</left>
  984.             <top>276</top>
  985.             <right>336</right>
  986.             <bottom>291</bottom>
  987.         </rect>
  988.         <style>transparent</style>
  989.         <showName> <true /> </showName>
  990.         <highlight> <false /> </highlight>
  991.         <autoHighlight> <true /> </autoHighlight>
  992.         <sharedHighlight> <true /> </sharedHighlight>
  993.         <family>0</family>
  994.         <titleWidth>0</titleWidth>
  995.         <icon>0</icon>
  996.         <textAlign>left</textAlign>
  997.         <font>Geneva</font>
  998.         <textSize>9</textSize>
  999.         <textStyle>plain</textStyle>
  1000.         <name>‚Ä¢ Timing Events</name>
  1001.         <script>on mouseUpsectionButtonend mouseUp</script>
  1002.     </part>
  1003.     <part>
  1004.         <id>75</id>
  1005.         <type>button</type>
  1006.         <visible> <true /> </visible>
  1007.         <reserved5> 0 </reserved5>
  1008.         <reserved4> 0 </reserved4>
  1009.         <reserved3> 0 </reserved3>
  1010.         <reserved2> 0 </reserved2>
  1011.         <reserved1> 0 </reserved1>
  1012.         <enabled> <true /> </enabled>
  1013.         <rect>
  1014.             <left>179</left>
  1015.             <top>306</top>
  1016.             <right>336</right>
  1017.             <bottom>321</bottom>
  1018.         </rect>
  1019.         <style>transparent</style>
  1020.         <showName> <true /> </showName>
  1021.         <highlight> <false /> </highlight>
  1022.         <autoHighlight> <true /> </autoHighlight>
  1023.         <sharedHighlight> <true /> </sharedHighlight>
  1024.         <family>0</family>
  1025.         <titleWidth>0</titleWidth>
  1026.         <icon>0</icon>
  1027.         <textAlign>left</textAlign>
  1028.         <font>Geneva</font>
  1029.         <textSize>9</textSize>
  1030.         <textStyle>plain</textStyle>
  1031.         <name>‚Ä¢ Trapping Key Shortcuts</name>
  1032.         <script>on mouseUpsectionButtonend mouseUp</script>
  1033.     </part>
  1034.     <part>
  1035.         <id>76</id>
  1036.         <type>button</type>
  1037.         <visible> <true /> </visible>
  1038.         <reserved5> 0 </reserved5>
  1039.         <reserved4> 0 </reserved4>
  1040.         <reserved3> 0 </reserved3>
  1041.         <reserved2> 0 </reserved2>
  1042.         <reserved1> 0 </reserved1>
  1043.         <enabled> <true /> </enabled>
  1044.         <rect>
  1045.             <left>341</left>
  1046.             <top>111</top>
  1047.             <right>498</right>
  1048.             <bottom>126</bottom>
  1049.         </rect>
  1050.         <style>transparent</style>
  1051.         <showName> <true /> </showName>
  1052.         <highlight> <false /> </highlight>
  1053.         <autoHighlight> <true /> </autoHighlight>
  1054.         <sharedHighlight> <true /> </sharedHighlight>
  1055.         <family>0</family>
  1056.         <titleWidth>0</titleWidth>
  1057.         <icon>0</icon>
  1058.         <textAlign>left</textAlign>
  1059.         <font>Geneva</font>
  1060.         <textSize>9</textSize>
  1061.         <textStyle>plain</textStyle>
  1062.         <name>‚Ä¢ Animation with Fields</name>
  1063.         <script>on mouseUpsectionButtonend mouseUp</script>
  1064.     </part>
  1065.     <part>
  1066.         <id>79</id>
  1067.         <type>field</type>
  1068.         <visible> <true /> </visible>
  1069.         <dontWrap> <false /> </dontWrap>
  1070.         <dontSearch> <false /> </dontSearch>
  1071.         <sharedText> <false /> </sharedText>
  1072.         <fixedLineHeight> <false /> </fixedLineHeight>
  1073.         <autoTab> <false /> </autoTab>
  1074.         <lockText> <true /> </lockText>
  1075.         <rect>
  1076.             <left>350</left>
  1077.             <top>203</top>
  1078.             <right>474</right>
  1079.             <bottom>255</bottom>
  1080.         </rect>
  1081.         <style>shadow</style>
  1082.         <autoSelect> <false /> </autoSelect>
  1083.         <showLines> <false /> </showLines>
  1084.         <wideMargins> <true /> </wideMargins>
  1085.         <multipleLines> <false /> </multipleLines>
  1086.         <reservedFamily> 0 </reservedFamily>
  1087.         <titleWidth>0</titleWidth>
  1088.         <icon>0</icon>
  1089.         <textAlign>center</textAlign>
  1090.         <font>Geneva</font>
  1091.         <textSize>9</textSize>
  1092.         <textStyle>plain</textStyle>
  1093.         <textHeight>12</textHeight>
  1094.         <name></name>
  1095.         <script></script>
  1096.     </part>
  1097.     <part>
  1098.         <id>80</id>
  1099.         <type>field</type>
  1100.         <visible> <true /> </visible>
  1101.         <dontWrap> <false /> </dontWrap>
  1102.         <dontSearch> <false /> </dontSearch>
  1103.         <sharedText> <false /> </sharedText>
  1104.         <fixedLineHeight> <false /> </fixedLineHeight>
  1105.         <autoTab> <false /> </autoTab>
  1106.         <lockText> <true /> </lockText>
  1107.         <rect>
  1108.             <left>11</left>
  1109.             <top>53</top>
  1110.             <right>501</right>
  1111.             <bottom>69</bottom>
  1112.         </rect>
  1113.         <style>transparent</style>
  1114.         <autoSelect> <false /> </autoSelect>
  1115.         <showLines> <false /> </showLines>
  1116.         <wideMargins> <false /> </wideMargins>
  1117.         <multipleLines> <false /> </multipleLines>
  1118.         <reservedFamily> 0 </reservedFamily>
  1119.         <titleWidth>0</titleWidth>
  1120.         <icon>0</icon>
  1121.         <textAlign>center</textAlign>
  1122.         <font>Geneva</font>
  1123.         <textSize>9</textSize>
  1124.         <textStyle>plain</textStyle>
  1125.         <textHeight>12</textHeight>
  1126.         <name></name>
  1127.         <script></script>
  1128.     </part>
  1129.     <part>
  1130.         <id>82</id>
  1131.         <type>button</type>
  1132.         <visible> <true /> </visible>
  1133.         <reserved5> 0 </reserved5>
  1134.         <reserved4> 0 </reserved4>
  1135.         <reserved3> 0 </reserved3>
  1136.         <reserved2> 0 </reserved2>
  1137.         <reserved1> 0 </reserved1>
  1138.         <enabled> <true /> </enabled>
  1139.         <rect>
  1140.             <left>341</left>
  1141.             <top>126</top>
  1142.             <right>498</right>
  1143.             <bottom>141</bottom>
  1144.         </rect>
  1145.         <style>transparent</style>
  1146.         <showName> <true /> </showName>
  1147.         <highlight> <false /> </highlight>
  1148.         <autoHighlight> <true /> </autoHighlight>
  1149.         <sharedHighlight> <true /> </sharedHighlight>
  1150.         <family>0</family>
  1151.         <titleWidth>0</titleWidth>
  1152.         <icon>0</icon>
  1153.         <textAlign>left</textAlign>
  1154.         <font>Geneva</font>
  1155.         <textSize>9</textSize>
  1156.         <textStyle>plain</textStyle>
  1157.         <name>‚Ä¢ Animation with Paint Tools</name>
  1158.         <script>on mouseUpsectionButtonend mouseUp</script>
  1159.     </part>
  1160.     <part>
  1161.         <id>83</id>
  1162.         <type>button</type>
  1163.         <visible> <true /> </visible>
  1164.         <reserved5> 0 </reserved5>
  1165.         <reserved4> 0 </reserved4>
  1166.         <reserved3> 0 </reserved3>
  1167.         <reserved2> 0 </reserved2>
  1168.         <reserved1> 0 </reserved1>
  1169.         <enabled> <true /> </enabled>
  1170.         <rect>
  1171.             <left>179</left>
  1172.             <top>111</top>
  1173.             <right>336</right>
  1174.             <bottom>126</bottom>
  1175.         </rect>
  1176.         <style>transparent</style>
  1177.         <showName> <true /> </showName>
  1178.         <highlight> <false /> </highlight>
  1179.         <autoHighlight> <true /> </autoHighlight>
  1180.         <sharedHighlight> <true /> </sharedHighlight>
  1181.         <family>0</family>
  1182.         <titleWidth>0</titleWidth>
  1183.         <icon>0</icon>
  1184.         <textAlign>left</textAlign>
  1185.         <font>Geneva</font>
  1186.         <textSize>9</textSize>
  1187.         <textStyle>plain</textStyle>
  1188.         <name>‚Ä¢ Oval Buttons</name>
  1189.         <script>on mouseUpsectionButtonend mouseUp</script>
  1190.     </part>
  1191.     <part>
  1192.         <id>84</id>
  1193.         <type>button</type>
  1194.         <visible> <true /> </visible>
  1195.         <reserved5> 0 </reserved5>
  1196.         <reserved4> 0 </reserved4>
  1197.         <reserved3> 0 </reserved3>
  1198.         <reserved2> 0 </reserved2>
  1199.         <reserved1> 0 </reserved1>
  1200.         <enabled> <true /> </enabled>
  1201.         <rect>
  1202.             <left>17</left>
  1203.             <top>306</top>
  1204.             <right>174</right>
  1205.             <bottom>321</bottom>
  1206.         </rect>
  1207.         <style>transparent</style>
  1208.         <showName> <true /> </showName>
  1209.         <highlight> <false /> </highlight>
  1210.         <autoHighlight> <true /> </autoHighlight>
  1211.         <sharedHighlight> <true /> </sharedHighlight>
  1212.         <family>0</family>
  1213.         <titleWidth>0</titleWidth>
  1214.         <icon>0</icon>
  1215.         <textAlign>left</textAlign>
  1216.         <font>Geneva</font>
  1217.         <textSize>9</textSize>
  1218.         <textStyle>plain</textStyle>
  1219.         <name>‚Ä¢ Dialogs</name>
  1220.         <script>on mouseUpsectionButtonend mouseUp</script>
  1221.     </part>
  1222.     <part>
  1223.         <id>85</id>
  1224.         <type>button</type>
  1225.         <visible> <true /> </visible>
  1226.         <reserved5> 0 </reserved5>
  1227.         <reserved4> 0 </reserved4>
  1228.         <reserved3> 0 </reserved3>
  1229.         <reserved2> 0 </reserved2>
  1230.         <reserved1> 0 </reserved1>
  1231.         <enabled> <true /> </enabled>
  1232.         <rect>
  1233.             <left>179</left>
  1234.             <top>201</top>
  1235.             <right>336</right>
  1236.             <bottom>216</bottom>
  1237.         </rect>
  1238.         <style>transparent</style>
  1239.         <showName> <true /> </showName>
  1240.         <highlight> <false /> </highlight>
  1241.         <autoHighlight> <true /> </autoHighlight>
  1242.         <sharedHighlight> <true /> </sharedHighlight>
  1243.         <family>0</family>
  1244.         <titleWidth>0</titleWidth>
  1245.         <icon>0</icon>
  1246.         <textAlign>left</textAlign>
  1247.         <font>Geneva</font>
  1248.         <textSize>9</textSize>
  1249.         <textStyle>plain</textStyle>
  1250.         <name>‚Ä¢ Function Keys</name>
  1251.         <script>on mouseUpsectionButtonend mouseUp</script>
  1252.     </part>
  1253.     <part>
  1254.         <id>86</id>
  1255.         <type>button</type>
  1256.         <visible> <true /> </visible>
  1257.         <reserved5> 0 </reserved5>
  1258.         <reserved4> 0 </reserved4>
  1259.         <reserved3> 0 </reserved3>
  1260.         <reserved2> 0 </reserved2>
  1261.         <reserved1> 0 </reserved1>
  1262.         <enabled> <true /> </enabled>
  1263.         <rect>
  1264.             <left>341</left>
  1265.             <top>81</top>
  1266.             <right>498</right>
  1267.             <bottom>96</bottom>
  1268.         </rect>
  1269.         <style>transparent</style>
  1270.         <showName> <true /> </showName>
  1271.         <highlight> <false /> </highlight>
  1272.         <autoHighlight> <true /> </autoHighlight>
  1273.         <sharedHighlight> <true /> </sharedHighlight>
  1274.         <family>0</family>
  1275.         <titleWidth>0</titleWidth>
  1276.         <icon>0</icon>
  1277.         <textAlign>left</textAlign>
  1278.         <font>Geneva</font>
  1279.         <textSize>9</textSize>
  1280.         <textStyle>plain</textStyle>
  1281.         <name>‚Ä¢ Field Validation</name>
  1282.         <script>on mouseUpsectionButtonend mouseUp</script>
  1283.     </part>
  1284.     <part>
  1285.         <id>88</id>
  1286.         <type>button</type>
  1287.         <visible> <true /> </visible>
  1288.         <reserved5> 0 </reserved5>
  1289.         <reserved4> 0 </reserved4>
  1290.         <reserved3> 0 </reserved3>
  1291.         <reserved2> 0 </reserved2>
  1292.         <reserved1> 0 </reserved1>
  1293.         <enabled> <true /> </enabled>
  1294.         <rect>
  1295.             <left>179</left>
  1296.             <top>291</top>
  1297.             <right>336</right>
  1298.             <bottom>306</bottom>
  1299.         </rect>
  1300.         <style>transparent</style>
  1301.         <showName> <true /> </showName>
  1302.         <highlight> <false /> </highlight>
  1303.         <autoHighlight> <true /> </autoHighlight>
  1304.         <sharedHighlight> <true /> </sharedHighlight>
  1305.         <family>0</family>
  1306.         <titleWidth>0</titleWidth>
  1307.         <icon>0</icon>
  1308.         <textAlign>left</textAlign>
  1309.         <font>Geneva</font>
  1310.         <textSize>9</textSize>
  1311.         <textStyle>plain</textStyle>
  1312.         <name>‚Ä¢ Timing HyperTalk Code</name>
  1313.         <script>on mouseUpsectionButtonend mouseUp</script>
  1314.     </part>
  1315.     <part>
  1316.         <id>89</id>
  1317.         <type>button</type>
  1318.         <visible> <true /> </visible>
  1319.         <reserved5> 0 </reserved5>
  1320.         <reserved4> 0 </reserved4>
  1321.         <reserved3> 0 </reserved3>
  1322.         <reserved2> 0 </reserved2>
  1323.         <reserved1> 0 </reserved1>
  1324.         <enabled> <true /> </enabled>
  1325.         <rect>
  1326.             <left>179</left>
  1327.             <top>141</top>
  1328.             <right>336</right>
  1329.             <bottom>156</bottom>
  1330.         </rect>
  1331.         <style>transparent</style>
  1332.         <showName> <true /> </showName>
  1333.         <highlight> <false /> </highlight>
  1334.         <autoHighlight> <true /> </autoHighlight>
  1335.         <sharedHighlight> <true /> </sharedHighlight>
  1336.         <family>0</family>
  1337.         <titleWidth>0</titleWidth>
  1338.         <icon>0</icon>
  1339.         <textAlign>left</textAlign>
  1340.         <font>Geneva</font>
  1341.         <textSize>9</textSize>
  1342.         <textStyle>plain</textStyle>
  1343.         <name>‚Ä¢ Visual Effects Workshop</name>
  1344.         <script>on mouseUpsectionButtonend mouseUp</script>
  1345.     </part>
  1346.     <part>
  1347.         <id>90</id>
  1348.         <type>button</type>
  1349.         <visible> <true /> </visible>
  1350.         <reserved5> 0 </reserved5>
  1351.         <reserved4> 0 </reserved4>
  1352.         <reserved3> 0 </reserved3>
  1353.         <reserved2> 0 </reserved2>
  1354.         <reserved1> 0 </reserved1>
  1355.         <enabled> <true /> </enabled>
  1356.         <rect>
  1357.             <left>179</left>
  1358.             <top>216</top>
  1359.             <right>336</right>
  1360.             <bottom>231</bottom>
  1361.         </rect>
  1362.         <style>transparent</style>
  1363.         <showName> <true /> </showName>
  1364.         <highlight> <false /> </highlight>
  1365.         <autoHighlight> <true /> </autoHighlight>
  1366.         <sharedHighlight> <true /> </sharedHighlight>
  1367.         <family>0</family>
  1368.         <titleWidth>0</titleWidth>
  1369.         <icon>0</icon>
  1370.         <textAlign>left</textAlign>
  1371.         <font>Geneva</font>
  1372.         <textSize>9</textSize>
  1373.         <textStyle>plain</textStyle>
  1374.         <name>‚Ä¢ Control Keys</name>
  1375.         <script>on mouseUpsectionButtonend mouseUp</script>
  1376.     </part>
  1377.     <part>
  1378.         <id>91</id>
  1379.         <type>button</type>
  1380.         <visible> <true /> </visible>
  1381.         <reserved5> 0 </reserved5>
  1382.         <reserved4> 0 </reserved4>
  1383.         <reserved3> 0 </reserved3>
  1384.         <reserved2> 0 </reserved2>
  1385.         <reserved1> 0 </reserved1>
  1386.         <enabled> <true /> </enabled>
  1387.         <rect>
  1388.             <left>341</left>
  1389.             <top>141</top>
  1390.             <right>498</right>
  1391.             <bottom>156</bottom>
  1392.         </rect>
  1393.         <style>transparent</style>
  1394.         <showName> <true /> </showName>
  1395.         <highlight> <false /> </highlight>
  1396.         <autoHighlight> <true /> </autoHighlight>
  1397.         <sharedHighlight> <true /> </sharedHighlight>
  1398.         <family>0</family>
  1399.         <titleWidth>0</titleWidth>
  1400.         <icon>0</icon>
  1401.         <textAlign>left</textAlign>
  1402.         <font>Geneva</font>
  1403.         <textSize>9</textSize>
  1404.         <textStyle>plain</textStyle>
  1405.         <name>‚Ä¢ Home Stack Goodies</name>
  1406.         <script>on mouseUpsectionButtonend mouseUp</script>
  1407.     </part>
  1408.     <content>
  1409.         <layer>background</layer>
  1410.         <id>1</id>
  1411.         <text>Techniques Index</text>
  1412.     </content>
  1413.     <content>
  1414.         <layer>card</layer>
  1415.         <id>79</id>
  1416.         <text>Watch this space formore techniquesin the next version.</text>
  1417.     </content>
  1418.     <content>
  1419.         <layer>card</layer>
  1420.         <id>80</id>
  1421.         <text>Click a topic of interest below, or click the right arrow button above to start at the beginning.</text>
  1422.     </content>
  1423.     <name>Index</name>
  1424.     <script>on sectionButtonput the short name of the target into cardNamedelete char 1 to 2 of cardNamevisual effect scroll leftgo to card cardNameend sectionButton</script>
  1425. </card>
  1426.  
  1427.  
  1428. card_31356.xml
  1429. <?xml version="1.0" encoding="utf-8" ?>
  1430. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1431. <card>
  1432.     <id>31356</id>
  1433.     <filler1>0</filler1>
  1434.     <cantDelete> <false /> </cantDelete>
  1435.     <showPict> <true /> </showPict>
  1436.     <dontSearch> <false /> </dontSearch>
  1437.     <owner>2759</owner>
  1438.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1439.     <part>
  1440.         <id>1</id>
  1441.         <type>button</type>
  1442.         <visible> <true /> </visible>
  1443.         <reserved5> 0 </reserved5>
  1444.         <reserved4> 0 </reserved4>
  1445.         <reserved3> 0 </reserved3>
  1446.         <reserved2> 0 </reserved2>
  1447.         <reserved1> 0 </reserved1>
  1448.         <enabled> <true /> </enabled>
  1449.         <rect>
  1450.             <left>270</left>
  1451.             <top>85</top>
  1452.             <right>368</right>
  1453.             <bottom>107</bottom>
  1454.         </rect>
  1455.         <style>roundrect</style>
  1456.         <showName> <true /> </showName>
  1457.         <highlight> <false /> </highlight>
  1458.         <autoHighlight> <true /> </autoHighlight>
  1459.         <sharedHighlight> <true /> </sharedHighlight>
  1460.         <family>0</family>
  1461.         <titleWidth>0</titleWidth>
  1462.         <icon>0</icon>
  1463.         <textAlign>center</textAlign>
  1464.         <font>Chicago</font>
  1465.         <textSize>12</textSize>
  1466.         <textStyle>plain</textStyle>
  1467.         <name>Show & Hide</name>
  1468.         <script>-- Pop-up field Script.-- Show field when button is pressed, hide when released.-- ...by Genevi√®ve Crabeon mouseDownshow card field "hidden"wait until the mouse is uphide card field "hidden"end mouseDown</script>
  1469.     </part>
  1470.     <part>
  1471.         <id>2</id>
  1472.         <type>field</type>
  1473.         <visible> <false /> </visible>
  1474.         <dontWrap> <false /> </dontWrap>
  1475.         <dontSearch> <false /> </dontSearch>
  1476.         <sharedText> <false /> </sharedText>
  1477.         <fixedLineHeight> <true /> </fixedLineHeight>
  1478.         <autoTab> <false /> </autoTab>
  1479.         <lockText> <true /> </lockText>
  1480.         <rect>
  1481.             <left>289</left>
  1482.             <top>135</top>
  1483.             <right>468</right>
  1484.             <bottom>225</bottom>
  1485.         </rect>
  1486.         <style>shadow</style>
  1487.         <autoSelect> <false /> </autoSelect>
  1488.         <showLines> <false /> </showLines>
  1489.         <wideMargins> <true /> </wideMargins>
  1490.         <multipleLines> <false /> </multipleLines>
  1491.         <reservedFamily> 0 </reservedFamily>
  1492.         <titleWidth>0</titleWidth>
  1493.         <icon>0</icon>
  1494.         <textAlign>center</textAlign>
  1495.         <font>Geneva</font>
  1496.         <textSize>12</textSize>
  1497.         <textStyle>plain</textStyle>
  1498.         <textHeight>16</textHeight>
  1499.         <name>Hidden</name>
  1500.         <script></script>
  1501.     </part>
  1502.     <content>
  1503.         <layer>background</layer>
  1504.         <id>1</id>
  1505.         <text>Pop-up Field  (1 of 7)</text>
  1506.     </content>
  1507.     <content>
  1508.         <layer>background</layer>
  1509.         <id>13</id>
  1510.         <text><span class="style1">he term </span><span class="style3">pop-up field</span><span class="style1"> refers to a field which is usually hidden, and is displayed when, for example, you click a button.This first technique displays the field when you click the button, but only as long as the button is down; the field is hidden again when you release the button.Create the field then hide it using the </span><span class="style3">hide</span><span class="style1"> command; the field is then displayed and hidden by the button script.</span></text>
  1511.     </content>
  1512.     <content>
  1513.         <layer>card</layer>
  1514.         <id>2</id>
  1515.         <text>This field is displayed when the button is pressed, and then disappears when the mouse button is released.</text>
  1516.     </content>
  1517.     <content>
  1518.         <layer>background</layer>
  1519.         <id>16</id>
  1520.         <text></text>
  1521.     </content>
  1522.     <name>Pop-up fields</name>
  1523.     <script></script>
  1524. </card>
  1525.  
  1526.  
  1527. card_2474.xml
  1528. <?xml version="1.0" encoding="utf-8" ?>
  1529. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1530. <card>
  1531.     <id>2474</id>
  1532.     <filler1>0</filler1>
  1533.     <cantDelete> <false /> </cantDelete>
  1534.     <showPict> <true /> </showPict>
  1535.     <dontSearch> <false /> </dontSearch>
  1536.     <owner>2759</owner>
  1537.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1538.     <part>
  1539.         <id>1</id>
  1540.         <type>button</type>
  1541.         <visible> <true /> </visible>
  1542.         <reserved5> 0 </reserved5>
  1543.         <reserved4> 0 </reserved4>
  1544.         <reserved3> 0 </reserved3>
  1545.         <reserved2> 0 </reserved2>
  1546.         <reserved1> 0 </reserved1>
  1547.         <enabled> <true /> </enabled>
  1548.         <rect>
  1549.             <left>270</left>
  1550.             <top>78</top>
  1551.             <right>358</right>
  1552.             <bottom>100</bottom>
  1553.         </rect>
  1554.         <style>roundrect</style>
  1555.         <showName> <true /> </showName>
  1556.         <highlight> <false /> </highlight>
  1557.         <autoHighlight> <true /> </autoHighlight>
  1558.         <sharedHighlight> <true /> </sharedHighlight>
  1559.         <family>0</family>
  1560.         <titleWidth>0</titleWidth>
  1561.         <icon>0</icon>
  1562.         <textAlign>center</textAlign>
  1563.         <font>Chicago</font>
  1564.         <textSize>12</textSize>
  1565.         <textStyle>plain</textStyle>
  1566.         <name>Show Field</name>
  1567.         <script>-- Pop-up field Script.-- ...by Genevi√®ve Crabe-- (see also the script of card field "hidden")on mouseUpshow card field "hidden"end mouseUp</script>
  1568.     </part>
  1569.     <part>
  1570.         <id>2</id>
  1571.         <type>field</type>
  1572.         <visible> <false /> </visible>
  1573.         <dontWrap> <false /> </dontWrap>
  1574.         <dontSearch> <false /> </dontSearch>
  1575.         <sharedText> <false /> </sharedText>
  1576.         <fixedLineHeight> <true /> </fixedLineHeight>
  1577.         <autoTab> <false /> </autoTab>
  1578.         <lockText> <true /> </lockText>
  1579.         <rect>
  1580.             <left>297</left>
  1581.             <top>143</top>
  1582.             <right>472</right>
  1583.             <bottom>235</bottom>
  1584.         </rect>
  1585.         <style>shadow</style>
  1586.         <autoSelect> <false /> </autoSelect>
  1587.         <showLines> <false /> </showLines>
  1588.         <wideMargins> <true /> </wideMargins>
  1589.         <multipleLines> <false /> </multipleLines>
  1590.         <reservedFamily> 0 </reservedFamily>
  1591.         <titleWidth>0</titleWidth>
  1592.         <icon>0</icon>
  1593.         <textAlign>center</textAlign>
  1594.         <font>Geneva</font>
  1595.         <textSize>12</textSize>
  1596.         <textStyle>plain</textStyle>
  1597.         <textHeight>16</textHeight>
  1598.         <name>hidden</name>
  1599.         <script>-- Pop-up field Script.-- ...by Genevi√®ve Crabeon mouseUphide card field "hidden"end mouseUp</script>
  1600.     </part>
  1601.     <content>
  1602.         <layer>background</layer>
  1603.         <id>1</id>
  1604.         <text>Pop-up Field  (2 of 7)</text>
  1605.     </content>
  1606.     <content>
  1607.         <layer>background</layer>
  1608.         <id>13</id>
  1609.         <text><span class="style1">se this technique when you want a field to be displayed when a button is pressed, and hidden by clicking the field itself.Create the field then hide it using the </span><span class="style3">hide</span><span class="style1"> command; the field is then displayed by the button script, and hidden by the field script.</span></text>
  1610.     </content>
  1611.     <content>
  1612.         <layer>card</layer>
  1613.         <id>2</id>
  1614.         <text>This field is displayed when the button is pressed; click the field itself to make it disappear.</text>
  1615.     </content>
  1616.     <name></name>
  1617.     <script>on closeCardhide card field "hidden"pass closeCardend closeCard</script>
  1618. </card>
  1619.  
  1620.  
  1621. card_4907.xml
  1622. <?xml version="1.0" encoding="utf-8" ?>
  1623. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1624. <card>
  1625.     <id>4907</id>
  1626.     <filler1>0</filler1>
  1627.     <cantDelete> <false /> </cantDelete>
  1628.     <showPict> <true /> </showPict>
  1629.     <dontSearch> <false /> </dontSearch>
  1630.     <owner>2759</owner>
  1631.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1632.     <part>
  1633.         <id>1</id>
  1634.         <type>button</type>
  1635.         <visible> <true /> </visible>
  1636.         <reserved5> 0 </reserved5>
  1637.         <reserved4> 0 </reserved4>
  1638.         <reserved3> 0 </reserved3>
  1639.         <reserved2> 0 </reserved2>
  1640.         <reserved1> 0 </reserved1>
  1641.         <enabled> <true /> </enabled>
  1642.         <rect>
  1643.             <left>302</left>
  1644.             <top>75</top>
  1645.             <right>390</right>
  1646.             <bottom>97</bottom>
  1647.         </rect>
  1648.         <style>roundrect</style>
  1649.         <showName> <true /> </showName>
  1650.         <highlight> <false /> </highlight>
  1651.         <autoHighlight> <true /> </autoHighlight>
  1652.         <sharedHighlight> <true /> </sharedHighlight>
  1653.         <family>0</family>
  1654.         <titleWidth>0</titleWidth>
  1655.         <icon>0</icon>
  1656.         <textAlign>center</textAlign>
  1657.         <font>Chicago</font>
  1658.         <textSize>12</textSize>
  1659.         <textStyle>plain</textStyle>
  1660.         <name>Show Field</name>
  1661.         <script>-- Pop-up field Script with visual effect.-- ...by Genevi√®ve Crabeon mouseUplock screenshow card field "hidden"show card button "OK"unlock screen with dissolveend mouseUp</script>
  1662.     </part>
  1663.     <part>
  1664.         <id>2</id>
  1665.         <type>field</type>
  1666.         <visible> <false /> </visible>
  1667.         <dontWrap> <false /> </dontWrap>
  1668.         <dontSearch> <false /> </dontSearch>
  1669.         <sharedText> <false /> </sharedText>
  1670.         <fixedLineHeight> <true /> </fixedLineHeight>
  1671.         <autoTab> <false /> </autoTab>
  1672.         <lockText> <true /> </lockText>
  1673.         <rect>
  1674.             <left>297</left>
  1675.             <top>123</top>
  1676.             <right>472</right>
  1677.             <bottom>243</bottom>
  1678.         </rect>
  1679.         <style>shadow</style>
  1680.         <autoSelect> <false /> </autoSelect>
  1681.         <showLines> <false /> </showLines>
  1682.         <wideMargins> <true /> </wideMargins>
  1683.         <multipleLines> <false /> </multipleLines>
  1684.         <reservedFamily> 0 </reservedFamily>
  1685.         <titleWidth>0</titleWidth>
  1686.         <icon>0</icon>
  1687.         <textAlign>center</textAlign>
  1688.         <font>Geneva</font>
  1689.         <textSize>12</textSize>
  1690.         <textStyle>plain</textStyle>
  1691.         <textHeight>16</textHeight>
  1692.         <name>hidden</name>
  1693.         <script></script>
  1694.     </part>
  1695.     <part>
  1696.         <id>3</id>
  1697.         <type>button</type>
  1698.         <visible> <false /> </visible>
  1699.         <reserved5> 0 </reserved5>
  1700.         <reserved4> 0 </reserved4>
  1701.         <reserved3> 0 </reserved3>
  1702.         <reserved2> 0 </reserved2>
  1703.         <reserved1> 0 </reserved1>
  1704.         <enabled> <true /> </enabled>
  1705.         <rect>
  1706.             <left>422</left>
  1707.             <top>216</top>
  1708.             <right>465</right>
  1709.             <bottom>236</bottom>
  1710.         </rect>
  1711.         <style>standard</style>
  1712.         <showName> <true /> </showName>
  1713.         <highlight> <false /> </highlight>
  1714.         <autoHighlight> <true /> </autoHighlight>
  1715.         <sharedHighlight> <true /> </sharedHighlight>
  1716.         <family>0</family>
  1717.         <titleWidth>0</titleWidth>
  1718.         <icon>0</icon>
  1719.         <textAlign>center</textAlign>
  1720.         <font>Chicago</font>
  1721.         <textSize>12</textSize>
  1722.         <textStyle>plain</textStyle>
  1723.         <name>OK</name>
  1724.         <script>-- Pop-up field Script with visual effect.-- ...by Genevi√®ve Crabeon mouseUplock screenhide card button "OK"hide card field "hidden"unlock screen with dissolveend mouseUp</script>
  1725.     </part>
  1726.     <content>
  1727.         <layer>background</layer>
  1728.         <id>1</id>
  1729.         <text>Pop-up Field  (3 of 7)</text>
  1730.     </content>
  1731.     <content>
  1732.         <layer>background</layer>
  1733.         <id>13</id>
  1734.         <text><span class="style1">se this technique when you want a field to be displayed when a button is pressed, and hidden by clicking an </span><span class="style3">OK</span><span class="style1"> button in the field.Create the field then hide it using the </span><span class="style3">hide</span><span class="style1"> command; the field is then displayed by the </span><span class="style3">Show Field</span><span class="style1"> button script, and hidden by the </span><span class="style3">OK</span><span class="style1"> button.Also, this makes use of the </span><span class="style3">lock screen</span><span class="style1"> and </span><span class="style3">unlock screen</span><span class="style1"> commands; the </span><span class="style3">unlock screen</span><span class="style1"> command can use a visual effect.  Here, the </span><span class="style3">dissolve</span><span class="style1"> effect is used.</span></text>
  1735.     </content>
  1736.     <content>
  1737.         <layer>card</layer>
  1738.         <id>2</id>
  1739.         <text><span class="style1">his field is displayed when the </span><span class="style3">Show Field</span><span class="style1"> button is pressed; click the </span><span class="style3">OK</span><span class="style1"> button to make the field disappear.</span></text>
  1740.     </content>
  1741.     <name></name>
  1742.     <script>on closeCardhide card button "OK"hide card field "hidden"pass closeCardend closeCard</script>
  1743. </card>
  1744.  
  1745.  
  1746. card_5239.xml
  1747. <?xml version="1.0" encoding="utf-8" ?>
  1748. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1749. <card>
  1750.     <id>5239</id>
  1751.     <filler1>0</filler1>
  1752.     <cantDelete> <false /> </cantDelete>
  1753.     <showPict> <true /> </showPict>
  1754.     <dontSearch> <false /> </dontSearch>
  1755.     <owner>2759</owner>
  1756.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1757.     <part>
  1758.         <id>1</id>
  1759.         <type>button</type>
  1760.         <visible> <true /> </visible>
  1761.         <reserved5> 0 </reserved5>
  1762.         <reserved4> 0 </reserved4>
  1763.         <reserved3> 0 </reserved3>
  1764.         <reserved2> 0 </reserved2>
  1765.         <reserved1> 0 </reserved1>
  1766.         <enabled> <true /> </enabled>
  1767.         <rect>
  1768.             <left>275</left>
  1769.             <top>78</top>
  1770.             <right>409</right>
  1771.             <bottom>100</bottom>
  1772.         </rect>
  1773.         <style>roundrect</style>
  1774.         <showName> <true /> </showName>
  1775.         <highlight> <false /> </highlight>
  1776.         <autoHighlight> <true /> </autoHighlight>
  1777.         <sharedHighlight> <true /> </sharedHighlight>
  1778.         <family>0</family>
  1779.         <titleWidth>0</titleWidth>
  1780.         <icon>0</icon>
  1781.         <textAlign>center</textAlign>
  1782.         <font>Chicago</font>
  1783.         <textSize>12</textSize>
  1784.         <textStyle>plain</textStyle>
  1785.         <name>Show/Hide Field</name>
  1786.         <script>-- Pop-up field Script.-- ...by Genevi√®ve Crabeon mouseUpset the visible of card field "hidden" to ¬¨not the visible of card field "hidden"end mouseUp</script>
  1787.     </part>
  1788.     <part>
  1789.         <id>2</id>
  1790.         <type>field</type>
  1791.         <visible> <false /> </visible>
  1792.         <dontWrap> <false /> </dontWrap>
  1793.         <dontSearch> <false /> </dontSearch>
  1794.         <sharedText> <false /> </sharedText>
  1795.         <fixedLineHeight> <true /> </fixedLineHeight>
  1796.         <autoTab> <false /> </autoTab>
  1797.         <lockText> <true /> </lockText>
  1798.         <rect>
  1799.             <left>299</left>
  1800.             <top>146</top>
  1801.             <right>472</right>
  1802.             <bottom>237</bottom>
  1803.         </rect>
  1804.         <style>shadow</style>
  1805.         <autoSelect> <false /> </autoSelect>
  1806.         <showLines> <false /> </showLines>
  1807.         <wideMargins> <true /> </wideMargins>
  1808.         <multipleLines> <false /> </multipleLines>
  1809.         <reservedFamily> 0 </reservedFamily>
  1810.         <titleWidth>0</titleWidth>
  1811.         <icon>0</icon>
  1812.         <textAlign>center</textAlign>
  1813.         <font>Geneva</font>
  1814.         <textSize>12</textSize>
  1815.         <textStyle>plain</textStyle>
  1816.         <textHeight>16</textHeight>
  1817.         <name>hidden</name>
  1818.         <script></script>
  1819.     </part>
  1820.     <content>
  1821.         <layer>background</layer>
  1822.         <id>1</id>
  1823.         <text>Pop-up Field  (4 of 7)</text>
  1824.     </content>
  1825.     <content>
  1826.         <layer>background</layer>
  1827.         <id>13</id>
  1828.         <text><span class="style1">se this technique when you want a field to be displayed when a button is pressed, and then click the same button to make the field disappear.Create the field; it will be displayed and hidden by the script of the </span><span class="style3">Show/Hide Field</span><span class="style1"> button.This technique can be combined with number 2, so that clicking on either the button or the field will hide the field.</span></text>
  1829.     </content>
  1830.     <content>
  1831.         <layer>card</layer>
  1832.         <id>2</id>
  1833.         <text><span class="style1">his field is both displayed and hidden when the</span><span class="style3">Show/Hide Field</span><span class="style1">button is pressed.</span></text>
  1834.     </content>
  1835.     <name></name>
  1836.     <script>on closeCardhide card field "hidden"pass closeCardend closeCard</script>
  1837. </card>
  1838.  
  1839.  
  1840. card_31999.xml
  1841. <?xml version="1.0" encoding="utf-8" ?>
  1842. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1843. <card>
  1844.     <id>31999</id>
  1845.     <filler1>0</filler1>
  1846.     <cantDelete> <false /> </cantDelete>
  1847.     <showPict> <true /> </showPict>
  1848.     <dontSearch> <false /> </dontSearch>
  1849.     <owner>2759</owner>
  1850.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1851.     <part>
  1852.         <id>1</id>
  1853.         <type>button</type>
  1854.         <visible> <true /> </visible>
  1855.         <reserved5> 0 </reserved5>
  1856.         <reserved4> 0 </reserved4>
  1857.         <reserved3> 0 </reserved3>
  1858.         <reserved2> 0 </reserved2>
  1859.         <reserved1> 0 </reserved1>
  1860.         <enabled> <true /> </enabled>
  1861.         <rect>
  1862.             <left>285</left>
  1863.             <top>78</top>
  1864.             <right>390</right>
  1865.             <bottom>100</bottom>
  1866.         </rect>
  1867.         <style>roundrect</style>
  1868.         <showName> <true /> </showName>
  1869.         <highlight> <false /> </highlight>
  1870.         <autoHighlight> <true /> </autoHighlight>
  1871.         <sharedHighlight> <true /> </sharedHighlight>
  1872.         <family>0</family>
  1873.         <titleWidth>0</titleWidth>
  1874.         <icon>0</icon>
  1875.         <textAlign>center</textAlign>
  1876.         <font>Chicago</font>
  1877.         <textSize>12</textSize>
  1878.         <textStyle>plain</textStyle>
  1879.         <name>Show Field</name>
  1880.         <script>-- Pop-up field Script.-- ...by Genevi√®ve Crabeon mouseUpif the short name of me is "Show Field" thenshow card field "hidden"set the name of me to "Hide Field"elsehide card field "hidden"set the name of me to "Show Field"end ifend mouseUp</script>
  1881.     </part>
  1882.     <part>
  1883.         <id>2</id>
  1884.         <type>field</type>
  1885.         <visible> <false /> </visible>
  1886.         <dontWrap> <false /> </dontWrap>
  1887.         <dontSearch> <false /> </dontSearch>
  1888.         <sharedText> <false /> </sharedText>
  1889.         <fixedLineHeight> <true /> </fixedLineHeight>
  1890.         <autoTab> <false /> </autoTab>
  1891.         <lockText> <true /> </lockText>
  1892.         <rect>
  1893.             <left>299</left>
  1894.             <top>146</top>
  1895.             <right>472</right>
  1896.             <bottom>237</bottom>
  1897.         </rect>
  1898.         <style>shadow</style>
  1899.         <autoSelect> <false /> </autoSelect>
  1900.         <showLines> <false /> </showLines>
  1901.         <wideMargins> <false /> </wideMargins>
  1902.         <multipleLines> <false /> </multipleLines>
  1903.         <reservedFamily> 0 </reservedFamily>
  1904.         <titleWidth>0</titleWidth>
  1905.         <icon>0</icon>
  1906.         <textAlign>center</textAlign>
  1907.         <font>Geneva</font>
  1908.         <textSize>12</textSize>
  1909.         <textStyle>plain</textStyle>
  1910.         <textHeight>16</textHeight>
  1911.         <name>hidden</name>
  1912.         <script></script>
  1913.     </part>
  1914.     <content>
  1915.         <layer>background</layer>
  1916.         <id>1</id>
  1917.         <text>Pop-up Field  (5 of 7)</text>
  1918.     </content>
  1919.     <content>
  1920.         <layer>background</layer>
  1921.         <id>13</id>
  1922.         <text><span class="style1">his technique is similar to the one on the previous card, except that the name of the button changes from </span><span class="style3">Show Field</span><span class="style1"> to </span><span class="style3">Hide Field</span><span class="style1"> as the field is shown or hidden.</span></text>
  1923.     </content>
  1924.     <content>
  1925.         <layer>card</layer>
  1926.         <id>2</id>
  1927.         <text>This field is both displayed and hiddenby the button.</text>
  1928.     </content>
  1929.     <name></name>
  1930.     <script>on closeCardif the visible of card field "hidden" thenhide card field "hidden"set the name of card button id 1 to "Show Field"end ifpass closeCardend closeCard</script>
  1931. </card>
  1932.  
  1933.  
  1934. card_5403.xml
  1935. <?xml version="1.0" encoding="utf-8" ?>
  1936. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1937. <card>
  1938.     <id>5403</id>
  1939.     <filler1>0</filler1>
  1940.     <cantDelete> <false /> </cantDelete>
  1941.     <showPict> <true /> </showPict>
  1942.     <dontSearch> <false /> </dontSearch>
  1943.     <owner>2759</owner>
  1944.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  1945.     <part>
  1946.         <id>1</id>
  1947.         <type>button</type>
  1948.         <visible> <true /> </visible>
  1949.         <reserved5> 0 </reserved5>
  1950.         <reserved4> 0 </reserved4>
  1951.         <reserved3> 0 </reserved3>
  1952.         <reserved2> 0 </reserved2>
  1953.         <reserved1> 0 </reserved1>
  1954.         <enabled> <true /> </enabled>
  1955.         <rect>
  1956.             <left>263</left>
  1957.             <top>76</top>
  1958.             <right>351</right>
  1959.             <bottom>98</bottom>
  1960.         </rect>
  1961.         <style>roundrect</style>
  1962.         <showName> <true /> </showName>
  1963.         <highlight> <false /> </highlight>
  1964.         <autoHighlight> <true /> </autoHighlight>
  1965.         <sharedHighlight> <true /> </sharedHighlight>
  1966.         <family>0</family>
  1967.         <titleWidth>0</titleWidth>
  1968.         <icon>0</icon>
  1969.         <textAlign>center</textAlign>
  1970.         <font>Chicago</font>
  1971.         <textSize>12</textSize>
  1972.         <textStyle>plain</textStyle>
  1973.         <name>Beeper</name>
  1974.         <script>-- Pop-up field with multiple buttons.-- ...by Genevi√®ve Crabe---- see also scripts of buttons "beep 1", "beep 2" and "beep 3"--on mouseUpset the lockscreen to trueshow card field "hidden1"show card button "beep 1"show card button "beep 2"show card button "beep 3"end mouseUp</script>
  1975.     </part>
  1976.     <part>
  1977.         <id>2</id>
  1978.         <type>field</type>
  1979.         <visible> <false /> </visible>
  1980.         <dontWrap> <false /> </dontWrap>
  1981.         <dontSearch> <false /> </dontSearch>
  1982.         <sharedText> <false /> </sharedText>
  1983.         <fixedLineHeight> <true /> </fixedLineHeight>
  1984.         <autoTab> <false /> </autoTab>
  1985.         <lockText> <true /> </lockText>
  1986.         <rect>
  1987.             <left>254</left>
  1988.             <top>115</top>
  1989.             <right>372</right>
  1990.             <bottom>221</bottom>
  1991.         </rect>
  1992.         <style>rectangle</style>
  1993.         <autoSelect> <false /> </autoSelect>
  1994.         <showLines> <false /> </showLines>
  1995.         <wideMargins> <true /> </wideMargins>
  1996.         <multipleLines> <false /> </multipleLines>
  1997.         <reservedFamily> 0 </reservedFamily>
  1998.         <titleWidth>0</titleWidth>
  1999.         <icon>0</icon>
  2000.         <textAlign>center</textAlign>
  2001.         <font>Geneva</font>
  2002.         <textSize>12</textSize>
  2003.         <textStyle>plain</textStyle>
  2004.         <textHeight>16</textHeight>
  2005.         <name>hidden1</name>
  2006.         <script></script>
  2007.     </part>
  2008.     <part>
  2009.         <id>4</id>
  2010.         <type>button</type>
  2011.         <visible> <true /> </visible>
  2012.         <reserved5> 0 </reserved5>
  2013.         <reserved4> 0 </reserved4>
  2014.         <reserved3> 0 </reserved3>
  2015.         <reserved2> 0 </reserved2>
  2016.         <reserved1> 0 </reserved1>
  2017.         <enabled> <true /> </enabled>
  2018.         <rect>
  2019.             <left>389</left>
  2020.             <top>86</top>
  2021.             <right>477</right>
  2022.             <bottom>108</bottom>
  2023.         </rect>
  2024.         <style>roundrect</style>
  2025.         <showName> <true /> </showName>
  2026.         <highlight> <false /> </highlight>
  2027.         <autoHighlight> <true /> </autoHighlight>
  2028.         <sharedHighlight> <true /> </sharedHighlight>
  2029.         <family>0</family>
  2030.         <titleWidth>0</titleWidth>
  2031.         <icon>0</icon>
  2032.         <textAlign>center</textAlign>
  2033.         <font>Chicago</font>
  2034.         <textSize>12</textSize>
  2035.         <textStyle>plain</textStyle>
  2036.         <name>Flasher</name>
  2037.         <script>-- Pop-up field with multiple buttons.-- ...by Genevi√®ve Crabe---- see also scripts of buttons "flash 1", "flash 2", "flash 3" and "OK"--on mouseUpset the lockscreen to trueshow card field "hidden2"show card button "flash 1"show card button "flash 2"show card button "flash 3"show card button "OK"end mouseUp</script>
  2038.     </part>
  2039.     <part>
  2040.         <id>5</id>
  2041.         <type>button</type>
  2042.         <visible> <false /> </visible>
  2043.         <reserved5> 0 </reserved5>
  2044.         <reserved4> 0 </reserved4>
  2045.         <reserved3> 0 </reserved3>
  2046.         <reserved2> 0 </reserved2>
  2047.         <reserved1> 0 </reserved1>
  2048.         <enabled> <true /> </enabled>
  2049.         <rect>
  2050.             <left>264</left>
  2051.             <top>126</top>
  2052.             <right>364</right>
  2053.             <bottom>148</bottom>
  2054.         </rect>
  2055.         <style>roundrect</style>
  2056.         <showName> <true /> </showName>
  2057.         <highlight> <false /> </highlight>
  2058.         <autoHighlight> <true /> </autoHighlight>
  2059.         <sharedHighlight> <true /> </sharedHighlight>
  2060.         <family>0</family>
  2061.         <titleWidth>0</titleWidth>
  2062.         <icon>0</icon>
  2063.         <textAlign>center</textAlign>
  2064.         <font>Chicago</font>
  2065.         <textSize>12</textSize>
  2066.         <textStyle>plain</textStyle>
  2067.         <name>Beep 1</name>
  2068.         <script>on mouseUpbeep 1hideBeeperend mouseUp</script>
  2069.     </part>
  2070.     <part>
  2071.         <id>6</id>
  2072.         <type>button</type>
  2073.         <visible> <false /> </visible>
  2074.         <reserved5> 0 </reserved5>
  2075.         <reserved4> 0 </reserved4>
  2076.         <reserved3> 0 </reserved3>
  2077.         <reserved2> 0 </reserved2>
  2078.         <reserved1> 0 </reserved1>
  2079.         <enabled> <true /> </enabled>
  2080.         <rect>
  2081.             <left>264</left>
  2082.             <top>158</top>
  2083.             <right>364</right>
  2084.             <bottom>180</bottom>
  2085.         </rect>
  2086.         <style>roundrect</style>
  2087.         <showName> <true /> </showName>
  2088.         <highlight> <false /> </highlight>
  2089.         <autoHighlight> <true /> </autoHighlight>
  2090.         <sharedHighlight> <true /> </sharedHighlight>
  2091.         <family>0</family>
  2092.         <titleWidth>0</titleWidth>
  2093.         <icon>0</icon>
  2094.         <textAlign>center</textAlign>
  2095.         <font>Chicago</font>
  2096.         <textSize>12</textSize>
  2097.         <textStyle>plain</textStyle>
  2098.         <name>Beep 2</name>
  2099.         <script>on mouseUprepeat 2 timesbeep 1wait for 10 ticksend repeathideBeeperend mouseUp</script>
  2100.     </part>
  2101.     <part>
  2102.         <id>7</id>
  2103.         <type>button</type>
  2104.         <visible> <false /> </visible>
  2105.         <reserved5> 0 </reserved5>
  2106.         <reserved4> 0 </reserved4>
  2107.         <reserved3> 0 </reserved3>
  2108.         <reserved2> 0 </reserved2>
  2109.         <reserved1> 0 </reserved1>
  2110.         <enabled> <true /> </enabled>
  2111.         <rect>
  2112.             <left>264</left>
  2113.             <top>190</top>
  2114.             <right>364</right>
  2115.             <bottom>212</bottom>
  2116.         </rect>
  2117.         <style>roundrect</style>
  2118.         <showName> <true /> </showName>
  2119.         <highlight> <false /> </highlight>
  2120.         <autoHighlight> <true /> </autoHighlight>
  2121.         <sharedHighlight> <true /> </sharedHighlight>
  2122.         <family>0</family>
  2123.         <titleWidth>0</titleWidth>
  2124.         <icon>0</icon>
  2125.         <textAlign>center</textAlign>
  2126.         <font>Chicago</font>
  2127.         <textSize>12</textSize>
  2128.         <textStyle>plain</textStyle>
  2129.         <name>Beep 3</name>
  2130.         <script>on mouseUprepeat 3 timesbeep 1wait for 10 ticksend repeathideBeeperend mouseUp</script>
  2131.     </part>
  2132.     <part>
  2133.         <id>8</id>
  2134.         <type>field</type>
  2135.         <visible> <false /> </visible>
  2136.         <dontWrap> <false /> </dontWrap>
  2137.         <dontSearch> <false /> </dontSearch>
  2138.         <sharedText> <false /> </sharedText>
  2139.         <fixedLineHeight> <true /> </fixedLineHeight>
  2140.         <autoTab> <false /> </autoTab>
  2141.         <lockText> <true /> </lockText>
  2142.         <rect>
  2143.             <left>380</left>
  2144.             <top>123</top>
  2145.             <right>501</right>
  2146.             <bottom>261</bottom>
  2147.         </rect>
  2148.         <style>rectangle</style>
  2149.         <autoSelect> <false /> </autoSelect>
  2150.         <showLines> <false /> </showLines>
  2151.         <wideMargins> <true /> </wideMargins>
  2152.         <multipleLines> <false /> </multipleLines>
  2153.         <reservedFamily> 0 </reservedFamily>
  2154.         <titleWidth>0</titleWidth>
  2155.         <icon>0</icon>
  2156.         <textAlign>center</textAlign>
  2157.         <font>Geneva</font>
  2158.         <textSize>12</textSize>
  2159.         <textStyle>plain</textStyle>
  2160.         <textHeight>16</textHeight>
  2161.         <name>hidden2</name>
  2162.         <script></script>
  2163.     </part>
  2164.     <part>
  2165.         <id>9</id>
  2166.         <type>button</type>
  2167.         <visible> <false /> </visible>
  2168.         <reserved5> 0 </reserved5>
  2169.         <reserved4> 0 </reserved4>
  2170.         <reserved3> 0 </reserved3>
  2171.         <reserved2> 0 </reserved2>
  2172.         <reserved1> 0 </reserved1>
  2173.         <enabled> <true /> </enabled>
  2174.         <rect>
  2175.             <left>389</left>
  2176.             <top>131</top>
  2177.             <right>486</right>
  2178.             <bottom>153</bottom>
  2179.         </rect>
  2180.         <style>roundrect</style>
  2181.         <showName> <true /> </showName>
  2182.         <highlight> <false /> </highlight>
  2183.         <autoHighlight> <true /> </autoHighlight>
  2184.         <sharedHighlight> <true /> </sharedHighlight>
  2185.         <family>0</family>
  2186.         <titleWidth>0</titleWidth>
  2187.         <icon>0</icon>
  2188.         <textAlign>center</textAlign>
  2189.         <font>Chicago</font>
  2190.         <textSize>12</textSize>
  2191.         <textStyle>plain</textStyle>
  2192.         <name>Flash 1</name>
  2193.         <script>on mouseUpflash 1end mouseUp</script>
  2194.     </part>
  2195.     <part>
  2196.         <id>10</id>
  2197.         <type>button</type>
  2198.         <visible> <false /> </visible>
  2199.         <reserved5> 0 </reserved5>
  2200.         <reserved4> 0 </reserved4>
  2201.         <reserved3> 0 </reserved3>
  2202.         <reserved2> 0 </reserved2>
  2203.         <reserved1> 0 </reserved1>
  2204.         <enabled> <true /> </enabled>
  2205.         <rect>
  2206.             <left>389</left>
  2207.             <top>197</top>
  2208.             <right>486</right>
  2209.             <bottom>219</bottom>
  2210.         </rect>
  2211.         <style>roundrect</style>
  2212.         <showName> <true /> </showName>
  2213.         <highlight> <false /> </highlight>
  2214.         <autoHighlight> <true /> </autoHighlight>
  2215.         <sharedHighlight> <true /> </sharedHighlight>
  2216.         <family>0</family>
  2217.         <titleWidth>0</titleWidth>
  2218.         <icon>0</icon>
  2219.         <textAlign>center</textAlign>
  2220.         <font>Chicago</font>
  2221.         <textSize>12</textSize>
  2222.         <textStyle>plain</textStyle>
  2223.         <name>Flash 3</name>
  2224.         <script>on mouseUpflash 3end mouseUp</script>
  2225.     </part>
  2226.     <part>
  2227.         <id>11</id>
  2228.         <type>button</type>
  2229.         <visible> <false /> </visible>
  2230.         <reserved5> 0 </reserved5>
  2231.         <reserved4> 0 </reserved4>
  2232.         <reserved3> 0 </reserved3>
  2233.         <reserved2> 0 </reserved2>
  2234.         <reserved1> 0 </reserved1>
  2235.         <enabled> <true /> </enabled>
  2236.         <rect>
  2237.             <left>389</left>
  2238.             <top>163</top>
  2239.             <right>486</right>
  2240.             <bottom>185</bottom>
  2241.         </rect>
  2242.         <style>roundrect</style>
  2243.         <showName> <true /> </showName>
  2244.         <highlight> <false /> </highlight>
  2245.         <autoHighlight> <true /> </autoHighlight>
  2246.         <sharedHighlight> <true /> </sharedHighlight>
  2247.         <family>0</family>
  2248.         <titleWidth>0</titleWidth>
  2249.         <icon>0</icon>
  2250.         <textAlign>center</textAlign>
  2251.         <font>Chicago</font>
  2252.         <textSize>12</textSize>
  2253.         <textStyle>plain</textStyle>
  2254.         <name>Flash 2</name>
  2255.         <script>on mouseUpflash 2end mouseUp</script>
  2256.     </part>
  2257.     <part>
  2258.         <id>12</id>
  2259.         <type>button</type>
  2260.         <visible> <false /> </visible>
  2261.         <reserved5> 0 </reserved5>
  2262.         <reserved4> 0 </reserved4>
  2263.         <reserved3> 0 </reserved3>
  2264.         <reserved2> 0 </reserved2>
  2265.         <reserved1> 0 </reserved1>
  2266.         <enabled> <true /> </enabled>
  2267.         <rect>
  2268.             <left>449</left>
  2269.             <top>234</top>
  2270.             <right>493</right>
  2271.             <bottom>255</bottom>
  2272.         </rect>
  2273.         <style>standard</style>
  2274.         <showName> <true /> </showName>
  2275.         <highlight> <false /> </highlight>
  2276.         <autoHighlight> <true /> </autoHighlight>
  2277.         <sharedHighlight> <true /> </sharedHighlight>
  2278.         <family>0</family>
  2279.         <titleWidth>0</titleWidth>
  2280.         <icon>0</icon>
  2281.         <textAlign>center</textAlign>
  2282.         <font>Chicago</font>
  2283.         <textSize>12</textSize>
  2284.         <textStyle>plain</textStyle>
  2285.         <name>OK</name>
  2286.         <script>on mouseUphideFlasherend mouseUp</script>
  2287.     </part>
  2288.     <content>
  2289.         <layer>background</layer>
  2290.         <id>1</id>
  2291.         <text>Pop-up Field  (6 of 7)</text>
  2292.     </content>
  2293.     <content>
  2294.         <layer>background</layer>
  2295.         <id>13</id>
  2296.         <text><span class="style1">ometimes, it is useful to have a set of buttons which are not always visible, but only appear in a particular circumstance.  The pop-up field technique can be used for this.Create a field, and create the secondary buttons to fit in the field;  the field becomes like a secondary button palette.  Furthermore, you can have more than one set of secondary buttons in the same place, if only one set will be displayed at a time.The action performed by one of these buttons can include hiding the palette.In the two examples, the button brings up a field containing buttons. In the </span><span class="style3">Beeper</span><span class="style1"> example, pressing a button causes an action, and the pop-up field and buttons then disappear.  Note that the button script which hides the field and buttons is in the card script, because it is called by each of the buttons in the pop-up field. In the </span><span class="style3">Flasher</span><span class="style1"> example, the pop-up field with buttons stays until the </span><span class="style3">OK</span><span class="style1"> button is pressed.</span></text>
  2297.     </content>
  2298.     <name></name>
  2299.     <script>on hideBeeperset the lockScreen to truehide card field "hidden1"hide card button "beep 1"hide card button "beep 2"hide card button "beep 3"set the lockScreen to falseend hideBeeperon hideFlasherset the lockScreen to truehide card field "hidden2"hide card button "flash 1"hide card button "flash 2"hide card button "flash 3"hide card button "OK"set the lockScreen to falseend hideFlasher----------------------------------------------------------------------on closeCardhideBeeperhideFlasherpass closeCardend closeCard</script>
  2300. </card>
  2301.  
  2302.  
  2303. card_33441.xml
  2304. <?xml version="1.0" encoding="utf-8" ?>
  2305. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2306. <card>
  2307.     <id>33441</id>
  2308.     <filler1>0</filler1>
  2309.     <cantDelete> <false /> </cantDelete>
  2310.     <showPict> <true /> </showPict>
  2311.     <dontSearch> <false /> </dontSearch>
  2312.     <owner>2759</owner>
  2313.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2314.     <part>
  2315.         <id>15</id>
  2316.         <type>button</type>
  2317.         <visible> <true /> </visible>
  2318.         <reserved5> 0 </reserved5>
  2319.         <reserved4> 0 </reserved4>
  2320.         <reserved3> 0 </reserved3>
  2321.         <reserved2> 0 </reserved2>
  2322.         <reserved1> 0 </reserved1>
  2323.         <enabled> <true /> </enabled>
  2324.         <rect>
  2325.             <left>264</left>
  2326.             <top>142</top>
  2327.             <right>366</right>
  2328.             <bottom>164</bottom>
  2329.         </rect>
  2330.         <style>roundrect</style>
  2331.         <showName> <true /> </showName>
  2332.         <highlight> <false /> </highlight>
  2333.         <autoHighlight> <true /> </autoHighlight>
  2334.         <sharedHighlight> <true /> </sharedHighlight>
  2335.         <family>0</family>
  2336.         <titleWidth>0</titleWidth>
  2337.         <icon>0</icon>
  2338.         <textAlign>center</textAlign>
  2339.         <font>Chicago</font>
  2340.         <textSize>12</textSize>
  2341.         <textStyle>condense</textStyle>
  2342.         <name>Show Controls</name>
  2343.         <script>on mouseUpif the short name of me is "Show Controls" thenset the name of me to "Hide Controls"elseset the name of me to "Show Controls"end ifset the visible of cd fld "Controls" to ¬¨not the visible of cd fld "Controls"end mouseUp</script>
  2344.     </part>
  2345.     <part>
  2346.         <id>16</id>
  2347.         <type>field</type>
  2348.         <visible> <false /> </visible>
  2349.         <dontWrap> <false /> </dontWrap>
  2350.         <dontSearch> <false /> </dontSearch>
  2351.         <sharedText> <false /> </sharedText>
  2352.         <fixedLineHeight> <false /> </fixedLineHeight>
  2353.         <autoTab> <false /> </autoTab>
  2354.         <lockText> <true /> </lockText>
  2355.         <rect>
  2356.             <left>388</left>
  2357.             <top>112</top>
  2358.             <right>478</right>
  2359.             <bottom>206</bottom>
  2360.         </rect>
  2361.         <style>shadow</style>
  2362.         <autoSelect> <false /> </autoSelect>
  2363.         <showLines> <false /> </showLines>
  2364.         <wideMargins> <true /> </wideMargins>
  2365.         <multipleLines> <false /> </multipleLines>
  2366.         <reservedFamily> 0 </reservedFamily>
  2367.         <titleWidth>0</titleWidth>
  2368.         <icon>0</icon>
  2369.         <textAlign>left</textAlign>
  2370.         <font>Chicago</font>
  2371.         <textSize>12</textSize>
  2372.         <textStyle>plain</textStyle>
  2373.         <textHeight>16</textHeight>
  2374.         <name>controls</name>
  2375.         <script>on mouseDownget the clickline---- the clickLine returns something like "line 1 of card field 1"-- value(it) will return the contents of the line-- do value(it) will execute the line as a HyperTalk command--if it is not empty then do value(it)end mouseDown</script>
  2376.     </part>
  2377.     <content>
  2378.         <layer>background</layer>
  2379.         <id>1</id>
  2380.         <text>Pop-up Field  (7 of 7)</text>
  2381.     </content>
  2382.     <content>
  2383.         <layer>background</layer>
  2384.         <id>13</id>
  2385.         <text><span class="style1">his is similar to the Flasher example on the previous card, except that in this case a field is used instead of a set of buttons.The </span><span class="style3">clickLine</span><span class="style1"> function is used to determine the line you clicked.Click </span><span class="style3">Show Controls</span><span class="style1"> to see the field, and see the field script.</span><span class="style24">Suggested by Jonathan Cloud.</span></text>
  2386.     </content>
  2387.     <content>
  2388.         <layer>card</layer>
  2389.         <id>16</id>
  2390.         <text>Flash 1Flash 2Flash 3</text>
  2391.     </content>
  2392.     <name></name>
  2393.     <script>on closeCardif the visible of cd fld "controls" thensend mouseUp to cd btn "Hide Controls"end ifpass closeCardend closeCard</script>
  2394. </card>
  2395.  
  2396.  
  2397. card_3211.xml
  2398. <?xml version="1.0" encoding="utf-8" ?>
  2399. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2400. <card>
  2401.     <id>3211</id>
  2402.     <filler1>0</filler1>
  2403.     <cantDelete> <false /> </cantDelete>
  2404.     <showPict> <true /> </showPict>
  2405.     <dontSearch> <false /> </dontSearch>
  2406.     <owner>2759</owner>
  2407.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2408.     <part>
  2409.         <id>1</id>
  2410.         <type>field</type>
  2411.         <visible> <true /> </visible>
  2412.         <dontWrap> <false /> </dontWrap>
  2413.         <dontSearch> <false /> </dontSearch>
  2414.         <sharedText> <false /> </sharedText>
  2415.         <fixedLineHeight> <true /> </fixedLineHeight>
  2416.         <autoTab> <false /> </autoTab>
  2417.         <lockText> <true /> </lockText>
  2418.         <rect>
  2419.             <left>287</left>
  2420.             <top>84</top>
  2421.             <right>467</right>
  2422.             <bottom>172</bottom>
  2423.         </rect>
  2424.         <style>shadow</style>
  2425.         <autoSelect> <false /> </autoSelect>
  2426.         <showLines> <false /> </showLines>
  2427.         <wideMargins> <true /> </wideMargins>
  2428.         <multipleLines> <false /> </multipleLines>
  2429.         <reservedFamily> 0 </reservedFamily>
  2430.         <titleWidth>0</titleWidth>
  2431.         <icon>0</icon>
  2432.         <textAlign>center</textAlign>
  2433.         <font>Geneva</font>
  2434.         <textSize>14</textSize>
  2435.         <textStyle>bold</textStyle>
  2436.         <textHeight>18</textHeight>
  2437.         <name>location</name>
  2438.         <script></script>
  2439.     </part>
  2440.     <content>
  2441.         <layer>background</layer>
  2442.         <id>1</id>
  2443.         <text>Mouse Locator</text>
  2444.     </content>
  2445.     <content>
  2446.         <layer>background</layer>
  2447.         <id>13</id>
  2448.         <text><span class="style1">ou can click and drag anywhere on the card and the mouse location will be displayed in the field on the right.The two numbers represent the number of pixels from the top left corner of the window; the first number is the horizontal distance, and the second number is the vertical distance.Look at the card script to see how it is done.This technique of monitoring mouse movement can be used when you want to allow the user to drag something like a button around the screen. It makes use of the </span><span class="style3">mouseDown</span><span class="style1">, </span><span class="style3">mouseStillDown</span><span class="style1">, and </span><span class="style3">mouseUp</span><span class="style1"> messages.If you click (i.e., mouseDown) in a field and then move outside the field before releasing the mouse, the card will not receive the mouseUp message.  This is because a mouseUp message is sent to an object only if it occurs in the same object where the mouseDown occurred.  In this case, the problem is alleviated by an </span><span class="style3">idle</span><span class="style1"> handler in the card script which checks if the mouse is up.</span></text>
  2449.     </content>
  2450.     <content>
  2451.         <layer>card</layer>
  2452.         <id>1</id>
  2453.         <text><span class="style1">ouse Location:</span><span class="style21"> </span></text>
  2454.     </content>
  2455.     <name>Mouse locator</name>
  2456.     <script>-- Mouse locator scripts.-- ...by Genevi√®ve Crabe------------------------------------------------------------------------ Detect a mouseDown event at the card level.--on mouseDownput the mouseLoc into line 2 of card field "location"put "mouse down" into line 4 of card field "location"pass mouseDownend mouseDown------------------------------------------------------------------------ Update mouse location while button is pressed.--on mouseStillDownput the mouseLoc into line 2 of card field "location"pass mouseStillDownend mouseStillDown------------------------------------------------------------------------ Detect a mouseUp event at the card level.--on mouseUpput "mouse up" into line 4 of card field "location"pass mouseUpend mouseUp------------------------------------------------------------------------ In case mouseUp was not received (mouseUp will only be sent to-- the object where the mouseUp occurs if it is the same object where-- the mouseDown occurs).--on idleif (the mouse is up) and (line 4 of card field "location" ‚↠"mouse up")then put "mouse up" into line 4 of card field "location"end idle------------------------------------------------------------------------ Clean up.--on closeCardput empty into line 2 of cd fld "location"put space into line 4 of cd fld "location" -- preserve italic stylepass closeCardend closeCard</script>
  2457. </card>
  2458.  
  2459.  
  2460. card_16554.xml
  2461. <?xml version="1.0" encoding="utf-8" ?>
  2462. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2463. <card>
  2464.     <id>16554</id>
  2465.     <filler1>0</filler1>
  2466.     <cantDelete> <false /> </cantDelete>
  2467.     <showPict> <true /> </showPict>
  2468.     <dontSearch> <false /> </dontSearch>
  2469.     <owner>2759</owner>
  2470.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2471.     <part>
  2472.         <id>1</id>
  2473.         <type>button</type>
  2474.         <visible> <true /> </visible>
  2475.         <reserved5> 0 </reserved5>
  2476.         <reserved4> 0 </reserved4>
  2477.         <reserved3> 0 </reserved3>
  2478.         <reserved2> 0 </reserved2>
  2479.         <reserved1> 0 </reserved1>
  2480.         <enabled> <true /> </enabled>
  2481.         <rect>
  2482.             <left>355</left>
  2483.             <top>76</top>
  2484.             <right>401</right>
  2485.             <bottom>125</bottom>
  2486.         </rect>
  2487.         <style>rectangle</style>
  2488.         <showName> <true /> </showName>
  2489.         <highlight> <false /> </highlight>
  2490.         <autoHighlight> <false /> </autoHighlight>
  2491.         <sharedHighlight> <true /> </sharedHighlight>
  2492.         <family>0</family>
  2493.         <titleWidth>0</titleWidth>
  2494.         <icon>8194</icon>
  2495.         <textAlign>center</textAlign>
  2496.         <font>Chicago</font>
  2497.         <textSize>12</textSize>
  2498.         <textStyle>plain</textStyle>
  2499.         <name>Drag Me</name>
  2500.         <script>-- This mouseDown handler drags the button around the card.--...by Genevi√®ve Crabeon mouseDown---- dh and dv are the horizontal and vertical distances between-- the initial click location and the center of the button--put (item 1 of the clickLoc) - (item 1 of the loc of me) into dhput item 2 of the clickLoc - (item 2 of the loc of me) into dv---- reposition the button, following the mouse position, and-- taking into account dh and dv--repeat until the mouse is upget the mouseLocput (item 1 of it) - dh into newHput (item 2 of it) - dv into newVset the loc of me to newH,newVend repeatend mouseDown</script>
  2501.     </part>
  2502.     <content>
  2503.         <layer>background</layer>
  2504.         <id>1</id>
  2505.         <text>Drag a Button</text>
  2506.     </content>
  2507.     <content>
  2508.         <layer>background</layer>
  2509.         <id>13</id>
  2510.         <text><span class="style1">sing the technique described in the previous card, you can drag a button on the card.The button script uses the </span><span class="style3">mouseLoc</span><span class="style1"> property to track the mouse location, and the </span><span class="style3">loc</span><span class="style1"> (location) property of the button to move it.</span></text>
  2511.     </content>
  2512.     <name>Drag a button</name>
  2513.     <script>on closeCardset the loc of card button "Drag Me" to 378,100pass closeCardend closeCard</script>
  2514. </card>
  2515.  
  2516.  
  2517. card_7518.xml
  2518. <?xml version="1.0" encoding="utf-8" ?>
  2519. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2520. <card>
  2521.     <id>7518</id>
  2522.     <filler1>0</filler1>
  2523.     <cantDelete> <false /> </cantDelete>
  2524.     <showPict> <true /> </showPict>
  2525.     <dontSearch> <false /> </dontSearch>
  2526.     <owner>2759</owner>
  2527.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2528.     <part>
  2529.         <id>1</id>
  2530.         <type>button</type>
  2531.         <visible> <true /> </visible>
  2532.         <reserved5> 0 </reserved5>
  2533.         <reserved4> 0 </reserved4>
  2534.         <reserved3> 0 </reserved3>
  2535.         <reserved2> 0 </reserved2>
  2536.         <reserved1> 0 </reserved1>
  2537.         <enabled> <true /> </enabled>
  2538.         <rect>
  2539.             <left>261</left>
  2540.             <top>81</top>
  2541.             <right>379</right>
  2542.             <bottom>103</bottom>
  2543.         </rect>
  2544.         <style>roundrect</style>
  2545.         <showName> <true /> </showName>
  2546.         <highlight> <false /> </highlight>
  2547.         <autoHighlight> <true /> </autoHighlight>
  2548.         <sharedHighlight> <true /> </sharedHighlight>
  2549.         <family>0</family>
  2550.         <titleWidth>0</titleWidth>
  2551.         <icon>0</icon>
  2552.         <textAlign>center</textAlign>
  2553.         <font>Chicago</font>
  2554.         <textSize>12</textSize>
  2555.         <textStyle>plain</textStyle>
  2556.         <name>Click and Type</name>
  2557.         <script>-- This script displays text in a field as if it were being typed.-- ...by Genevi√®ve Crabeon mouseUp---- clear the field and click in it--put empty into card field "field1"select text of card field "field1"---- type each chatacter--type "HELLO!!!" & return & return ¬¨& "This text is being entered from the button script . . ."end mouseUp</script>
  2558.     </part>
  2559.     <part>
  2560.         <id>2</id>
  2561.         <type>field</type>
  2562.         <visible> <true /> </visible>
  2563.         <dontWrap> <false /> </dontWrap>
  2564.         <dontSearch> <false /> </dontSearch>
  2565.         <sharedText> <false /> </sharedText>
  2566.         <fixedLineHeight> <true /> </fixedLineHeight>
  2567.         <autoTab> <false /> </autoTab>
  2568.         <lockText> <false /> </lockText>
  2569.         <rect>
  2570.             <left>302</left>
  2571.             <top>110</top>
  2572.             <right>461</right>
  2573.             <bottom>225</bottom>
  2574.         </rect>
  2575.         <style>rectangle</style>
  2576.         <autoSelect> <false /> </autoSelect>
  2577.         <showLines> <false /> </showLines>
  2578.         <wideMargins> <true /> </wideMargins>
  2579.         <multipleLines> <false /> </multipleLines>
  2580.         <reservedFamily> 0 </reservedFamily>
  2581.         <titleWidth>0</titleWidth>
  2582.         <icon>0</icon>
  2583.         <textAlign>left</textAlign>
  2584.         <font>New York</font>
  2585.         <textSize>14</textSize>
  2586.         <textStyle>plain</textStyle>
  2587.         <textHeight>18</textHeight>
  2588.         <name>Field1</name>
  2589.         <script></script>
  2590.     </part>
  2591.     <part>
  2592.         <id>4</id>
  2593.         <type>button</type>
  2594.         <visible> <true /> </visible>
  2595.         <reserved5> 0 </reserved5>
  2596.         <reserved4> 0 </reserved4>
  2597.         <reserved3> 0 </reserved3>
  2598.         <reserved2> 0 </reserved2>
  2599.         <reserved1> 0 </reserved1>
  2600.         <enabled> <true /> </enabled>
  2601.         <rect>
  2602.             <left>374</left>
  2603.             <top>239</top>
  2604.             <right>492</right>
  2605.             <bottom>261</bottom>
  2606.         </rect>
  2607.         <style>roundrect</style>
  2608.         <showName> <true /> </showName>
  2609.         <highlight> <false /> </highlight>
  2610.         <autoHighlight> <true /> </autoHighlight>
  2611.         <sharedHighlight> <true /> </sharedHighlight>
  2612.         <family>0</family>
  2613.         <titleWidth>0</titleWidth>
  2614.         <icon>0</icon>
  2615.         <textAlign>center</textAlign>
  2616.         <font>Chicago</font>
  2617.         <textSize>12</textSize>
  2618.         <textStyle>plain</textStyle>
  2619.         <name>Type Slower</name>
  2620.         <script>-- Script displays text in a field as if it were being typed.-- ...by Genevi√®ve Crabeon mouseUp---- clear the field and click in it--put empty into card field "field1"select text of card field "field1"---- put the string to be typed into a variable str-- and its length in a variable n--put "HELLO!!!" & return & return ¬¨& "This text is being entered from the button script . . ." into strput length (str) into n---- type each character, with a small delay (60 ticks = 1 second)--repeat with i = 1 to ntype char i of strwait for 10 ticksend repeatend mouseUp</script>
  2621.     </part>
  2622.     <content>
  2623.         <layer>background</layer>
  2624.         <id>1</id>
  2625.         <text>Click and Enter Text</text>
  2626.     </content>
  2627.     <content>
  2628.         <layer>background</layer>
  2629.         <id>13</id>
  2630.         <text><span class="style1">he </span><span class="style3">Click and Type</span><span class="style1"> button allows you to position the test cursor in a text field.Once the cursor is positioned, the button script enters text in the field.The </span><span class="style3">Type Slower</span><span class="style1"> button does the same thing, but with a small delay between each letter.</span></text>
  2631.     </content>
  2632.     <name>Click and enter text</name>
  2633.     <script>on closeCardput empty into card field "field1"pass closeCardend closeCard</script>
  2634. </card>
  2635.  
  2636.  
  2637. card_7833.xml
  2638. <?xml version="1.0" encoding="utf-8" ?>
  2639. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2640. <card>
  2641.     <id>7833</id>
  2642.     <filler1>0</filler1>
  2643.     <cantDelete> <false /> </cantDelete>
  2644.     <showPict> <true /> </showPict>
  2645.     <dontSearch> <false /> </dontSearch>
  2646.     <owner>2759</owner>
  2647.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2648.     <part>
  2649.         <id>1</id>
  2650.         <type>button</type>
  2651.         <visible> <true /> </visible>
  2652.         <reserved5> 0 </reserved5>
  2653.         <reserved4> 0 </reserved4>
  2654.         <reserved3> 0 </reserved3>
  2655.         <reserved2> 0 </reserved2>
  2656.         <reserved1> 0 </reserved1>
  2657.         <enabled> <true /> </enabled>
  2658.         <rect>
  2659.             <left>283</left>
  2660.             <top>98</top>
  2661.             <right>391</right>
  2662.             <bottom>151</bottom>
  2663.         </rect>
  2664.         <style>roundrect</style>
  2665.         <showName> <true /> </showName>
  2666.         <highlight> <false /> </highlight>
  2667.         <autoHighlight> <true /> </autoHighlight>
  2668.         <sharedHighlight> <true /> </sharedHighlight>
  2669.         <family>0</family>
  2670.         <titleWidth>0</titleWidth>
  2671.         <icon>0</icon>
  2672.         <textAlign>center</textAlign>
  2673.         <font>Chicago</font>
  2674.         <textSize>24</textSize>
  2675.         <textStyle>plain</textStyle>
  2676.         <name>UP</name>
  2677.         <script>-- Button whose name changes each time it is pressed.-- ...by Genevi√®ve Crabeon mouseUpif the short name of me is "UP" thenset the name of me to "DOWN"-- do processing hereelseset the name of me to "UP"-- do processing hereend ifend mouseUp</script>
  2678.     </part>
  2679.     <part>
  2680.         <id>2</id>
  2681.         <type>field</type>
  2682.         <visible> <true /> </visible>
  2683.         <dontWrap> <false /> </dontWrap>
  2684.         <dontSearch> <false /> </dontSearch>
  2685.         <sharedText> <false /> </sharedText>
  2686.         <fixedLineHeight> <true /> </fixedLineHeight>
  2687.         <autoTab> <false /> </autoTab>
  2688.         <lockText> <true /> </lockText>
  2689.         <rect>
  2690.             <left>357</left>
  2691.             <top>200</top>
  2692.             <right>461</right>
  2693.             <bottom>236</bottom>
  2694.         </rect>
  2695.         <style>shadow</style>
  2696.         <autoSelect> <false /> </autoSelect>
  2697.         <showLines> <false /> </showLines>
  2698.         <wideMargins> <true /> </wideMargins>
  2699.         <multipleLines> <false /> </multipleLines>
  2700.         <reservedFamily> 0 </reservedFamily>
  2701.         <titleWidth>0</titleWidth>
  2702.         <icon>0</icon>
  2703.         <textAlign>center</textAlign>
  2704.         <font>Helvetica</font>
  2705.         <textSize>18</textSize>
  2706.         <textStyle>bold</textStyle>
  2707.         <textHeight>24</textHeight>
  2708.         <name>ButtonField</name>
  2709.         <script></script>
  2710.     </part>
  2711.     <part>
  2712.         <id>3</id>
  2713.         <type>button</type>
  2714.         <visible> <true /> </visible>
  2715.         <reserved5> 0 </reserved5>
  2716.         <reserved4> 0 </reserved4>
  2717.         <reserved3> 0 </reserved3>
  2718.         <reserved2> 0 </reserved2>
  2719.         <reserved1> 0 </reserved1>
  2720.         <enabled> <true /> </enabled>
  2721.         <rect>
  2722.             <left>359</left>
  2723.             <top>202</top>
  2724.             <right>457</right>
  2725.             <bottom>232</bottom>
  2726.         </rect>
  2727.         <style>transparent</style>
  2728.         <showName> <false /> </showName>
  2729.         <highlight> <false /> </highlight>
  2730.         <autoHighlight> <true /> </autoHighlight>
  2731.         <sharedHighlight> <true /> </sharedHighlight>
  2732.         <family>0</family>
  2733.         <titleWidth>0</titleWidth>
  2734.         <icon>0</icon>
  2735.         <textAlign>center</textAlign>
  2736.         <font>Chicago</font>
  2737.         <textSize>12</textSize>
  2738.         <textStyle>plain</textStyle>
  2739.         <name></name>
  2740.         <script>-- Transparent button covering a field whose name changes-- each time the button is pressed.-- ...by Genevi√®ve Crabeon mouseUpif card field "ButtonField" is "One" thenput "Two" into card field "ButtonField"-- do processing hereelse if card field "ButtonField" is "Two" thenput "Three" into card field "ButtonField"-- do processing hereelse if card field "ButtonField" is "Three" thenput "One" into card field "ButtonField"-- do processing hereend ifend mouseUp</script>
  2741.     </part>
  2742.     <content>
  2743.         <layer>background</layer>
  2744.         <id>1</id>
  2745.         <text>Changing Button Label</text>
  2746.     </content>
  2747.     <content>
  2748.         <layer>background</layer>
  2749.         <id>13</id>
  2750.         <text>Here are two techniques which enable you to have a button whose label changes.1. The first technique uses a button, and the script changes the name of the button.2. The second uses a field with a transparent button on top; the contents of the field is changed each time a button is pressed.  This is useful if you want to refer to the button by name, and you don't want the name to change.In both cases, each time you click the button, the name will change.</text>
  2751.     </content>
  2752.     <content>
  2753.         <layer>card</layer>
  2754.         <id>2</id>
  2755.         <text>One</text>
  2756.     </content>
  2757.     <name>Changing button label</name>
  2758.     <script></script>
  2759. </card>
  2760.  
  2761.  
  2762. card_8034.xml
  2763. <?xml version="1.0" encoding="utf-8" ?>
  2764. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2765. <card>
  2766.     <id>8034</id>
  2767.     <filler1>0</filler1>
  2768.     <cantDelete> <false /> </cantDelete>
  2769.     <showPict> <true /> </showPict>
  2770.     <dontSearch> <false /> </dontSearch>
  2771.     <owner>2759</owner>
  2772.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2773.     <part>
  2774.         <id>1</id>
  2775.         <type>field</type>
  2776.         <visible> <true /> </visible>
  2777.         <dontWrap> <false /> </dontWrap>
  2778.         <dontSearch> <false /> </dontSearch>
  2779.         <sharedText> <false /> </sharedText>
  2780.         <fixedLineHeight> <true /> </fixedLineHeight>
  2781.         <autoTab> <false /> </autoTab>
  2782.         <lockText> <true /> </lockText>
  2783.         <rect>
  2784.             <left>286</left>
  2785.             <top>227</top>
  2786.             <right>475</right>
  2787.             <bottom>261</bottom>
  2788.         </rect>
  2789.         <style>transparent</style>
  2790.         <autoSelect> <false /> </autoSelect>
  2791.         <showLines> <false /> </showLines>
  2792.         <wideMargins> <true /> </wideMargins>
  2793.         <multipleLines> <false /> </multipleLines>
  2794.         <reservedFamily> 0 </reservedFamily>
  2795.         <titleWidth>0</titleWidth>
  2796.         <icon>0</icon>
  2797.         <textAlign>center</textAlign>
  2798.         <font>New York</font>
  2799.         <textSize>14</textSize>
  2800.         <textStyle>bold</textStyle>
  2801.         <textHeight>18</textHeight>
  2802.         <name>Field1</name>
  2803.         <script></script>
  2804.     </part>
  2805.     <part>
  2806.         <id>2</id>
  2807.         <type>button</type>
  2808.         <visible> <true /> </visible>
  2809.         <reserved5> 0 </reserved5>
  2810.         <reserved4> 0 </reserved4>
  2811.         <reserved3> 0 </reserved3>
  2812.         <reserved2> 0 </reserved2>
  2813.         <reserved1> 0 </reserved1>
  2814.         <enabled> <true /> </enabled>
  2815.         <rect>
  2816.             <left>322</left>
  2817.             <top>98</top>
  2818.             <right>430</right>
  2819.             <bottom>151</bottom>
  2820.         </rect>
  2821.         <style>rectangle</style>
  2822.         <showName> <true /> </showName>
  2823.         <highlight> <false /> </highlight>
  2824.         <autoHighlight> <false /> </autoHighlight>
  2825.         <sharedHighlight> <true /> </sharedHighlight>
  2826.         <family>0</family>
  2827.         <titleWidth>0</titleWidth>
  2828.         <icon>1006</icon>
  2829.         <textAlign>center</textAlign>
  2830.         <font>Chicago</font>
  2831.         <textSize>12</textSize>
  2832.         <textStyle>plain</textStyle>
  2833.         <name>Click or Double-Click</name>
  2834.         <script>-- Script detects double click.on mouseUpput "Single Click" into card field "field1"end mouseUpon mouseDoubleClickput "Double Click" into card field "field1"end mouseDoubleClick</script>
  2835.     </part>
  2836.     <content>
  2837.         <layer>background</layer>
  2838.         <id>1</id>
  2839.         <text>Detect Double-click</text>
  2840.     </content>
  2841.     <content>
  2842.         <layer>background</layer>
  2843.         <id>13</id>
  2844.         <text><span class="style1">here is now a </span><span class="style3">mouseDoubleClick</span><span class="style1"> message which is sent when you double-click a button.Try it with this button.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  2845.     </content>
  2846.     <name>Detect double-click</name>
  2847.     <script>on closeCardput empty into card field "field1"pass closeCardend closeCard</script>
  2848. </card>
  2849.  
  2850.  
  2851. card_8259.xml
  2852. <?xml version="1.0" encoding="utf-8" ?>
  2853. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2854. <card>
  2855.     <id>8259</id>
  2856.     <filler1>0</filler1>
  2857.     <bitmap>BMAP_8965.pbm</bitmap>
  2858.     <cantDelete> <false /> </cantDelete>
  2859.     <showPict> <true /> </showPict>
  2860.     <dontSearch> <false /> </dontSearch>
  2861.     <owner>2759</owner>
  2862.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  2863.     <part>
  2864.         <id>1</id>
  2865.         <type>field</type>
  2866.         <visible> <true /> </visible>
  2867.         <dontWrap> <false /> </dontWrap>
  2868.         <dontSearch> <false /> </dontSearch>
  2869.         <sharedText> <false /> </sharedText>
  2870.         <fixedLineHeight> <true /> </fixedLineHeight>
  2871.         <autoTab> <false /> </autoTab>
  2872.         <lockText> <true /> </lockText>
  2873.         <rect>
  2874.             <left>415</left>
  2875.             <top>83</top>
  2876.             <right>465</right>
  2877.             <bottom>124</bottom>
  2878.         </rect>
  2879.         <style>transparent</style>
  2880.         <autoSelect> <false /> </autoSelect>
  2881.         <showLines> <false /> </showLines>
  2882.         <wideMargins> <true /> </wideMargins>
  2883.         <multipleLines> <false /> </multipleLines>
  2884.         <reservedFamily> 0 </reservedFamily>
  2885.         <titleWidth>0</titleWidth>
  2886.         <icon>0</icon>
  2887.         <textAlign>center</textAlign>
  2888.         <font>Chicago</font>
  2889.         <textSize>24</textSize>
  2890.         <textStyle>plain</textStyle>
  2891.         <textHeight>32</textHeight>
  2892.         <name>Field1</name>
  2893.         <script></script>
  2894.     </part>
  2895.     <part>
  2896.         <id>2</id>
  2897.         <type>button</type>
  2898.         <visible> <true /> </visible>
  2899.         <reserved5> 0 </reserved5>
  2900.         <reserved4> 0 </reserved4>
  2901.         <reserved3> 0 </reserved3>
  2902.         <reserved2> 0 </reserved2>
  2903.         <reserved1> 0 </reserved1>
  2904.         <enabled> <true /> </enabled>
  2905.         <rect>
  2906.             <left>290</left>
  2907.             <top>95</top>
  2908.             <right>365</right>
  2909.             <bottom>117</bottom>
  2910.         </rect>
  2911.         <style>checkbox</style>
  2912.         <showName> <true /> </showName>
  2913.         <highlight> <false /> </highlight>
  2914.         <autoHighlight> <true /> </autoHighlight>
  2915.         <sharedHighlight> <true /> </sharedHighlight>
  2916.         <family>0</family>
  2917.         <titleWidth>0</titleWidth>
  2918.         <icon>0</icon>
  2919.         <textAlign>center</textAlign>
  2920.         <font>Chicago</font>
  2921.         <textSize>12</textSize>
  2922.         <textStyle>plain</textStyle>
  2923.         <name>Flash</name>
  2924.         <script>-- Flashing icon script.-- ...by Genevi√®ve Crabe---- This script sets up a global variable "flash1" to indicate that-- the icon should be flashing; the actual flashing is done in the-- "idle" handler in the card script.---- flash1 is true if the checkbox is checked.on mouseUpglobal flash1put numToChar(240) into card field "field1"put the hilite of me into flash1end mouseUp</script>
  2925.     </part>
  2926.     <part>
  2927.         <id>4</id>
  2928.         <type>field</type>
  2929.         <visible> <false /> </visible>
  2930.         <dontWrap> <false /> </dontWrap>
  2931.         <dontSearch> <false /> </dontSearch>
  2932.         <sharedText> <false /> </sharedText>
  2933.         <fixedLineHeight> <true /> </fixedLineHeight>
  2934.         <autoTab> <false /> </autoTab>
  2935.         <lockText> <true /> </lockText>
  2936.         <rect>
  2937.             <left>419</left>
  2938.             <top>178</top>
  2939.             <right>464</right>
  2940.             <bottom>202</bottom>
  2941.         </rect>
  2942.         <style>opaque</style>
  2943.         <autoSelect> <false /> </autoSelect>
  2944.         <showLines> <false /> </showLines>
  2945.         <wideMargins> <true /> </wideMargins>
  2946.         <multipleLines> <false /> </multipleLines>
  2947.         <reservedFamily> 0 </reservedFamily>
  2948.         <titleWidth>0</titleWidth>
  2949.         <icon>0</icon>
  2950.         <textAlign>center</textAlign>
  2951.         <font>Geneva</font>
  2952.         <textSize>12</textSize>
  2953.         <textStyle>bold</textStyle>
  2954.         <textHeight>16</textHeight>
  2955.         <name>Field2</name>
  2956.         <script></script>
  2957.     </part>
  2958.     <part>
  2959.         <id>5</id>
  2960.         <type>button</type>
  2961.         <visible> <true /> </visible>
  2962.         <reserved5> 0 </reserved5>
  2963.         <reserved4> 0 </reserved4>
  2964.         <reserved3> 0 </reserved3>
  2965.         <reserved2> 0 </reserved2>
  2966.         <reserved1> 0 </reserved1>
  2967.         <enabled> <true /> </enabled>
  2968.         <rect>
  2969.             <left>290</left>
  2970.             <top>175</top>
  2971.             <right>365</right>
  2972.             <bottom>197</bottom>
  2973.         </rect>
  2974.         <style>checkbox</style>
  2975.         <showName> <true /> </showName>
  2976.         <highlight> <false /> </highlight>
  2977.         <autoHighlight> <true /> </autoHighlight>
  2978.         <sharedHighlight> <true /> </sharedHighlight>
  2979.         <family>0</family>
  2980.         <titleWidth>0</titleWidth>
  2981.         <icon>0</icon>
  2982.         <textAlign>center</textAlign>
  2983.         <font>Chicago</font>
  2984.         <textSize>12</textSize>
  2985.         <textStyle>plain</textStyle>
  2986.         <name>Flash</name>
  2987.         <script>-- Flashing icon script.-- ...by Genevi√®ve Crabe---- This script sets up a global variable "flash2" to indicate that-- the icon should be flashing; the actual flashing is done in the-- "idle" handler in the card script.---- flash2 is true if the checkbox is checked.on mouseUpglobal flash2hide card field "field2"  -- make sure the icon is onput the hilite of me into flash2end mouseUp</script>
  2988.     </part>
  2989.     <part>
  2990.         <id>6</id>
  2991.         <type>button</type>
  2992.         <visible> <true /> </visible>
  2993.         <reserved5> 0 </reserved5>
  2994.         <reserved4> 0 </reserved4>
  2995.         <reserved3> 0 </reserved3>
  2996.         <reserved2> 0 </reserved2>
  2997.         <reserved1> 0 </reserved1>
  2998.         <enabled> <true /> </enabled>
  2999.         <rect>
  3000.             <left>290</left>
  3001.             <top>270</top>
  3002.             <right>365</right>
  3003.             <bottom>292</bottom>
  3004.         </rect>
  3005.         <style>checkbox</style>
  3006.         <showName> <true /> </showName>
  3007.         <highlight> <false /> </highlight>
  3008.         <autoHighlight> <true /> </autoHighlight>
  3009.         <sharedHighlight> <true /> </sharedHighlight>
  3010.         <family>0</family>
  3011.         <titleWidth>0</titleWidth>
  3012.         <icon>0</icon>
  3013.         <textAlign>center</textAlign>
  3014.         <font>Chicago</font>
  3015.         <textSize>12</textSize>
  3016.         <textStyle>plain</textStyle>
  3017.         <name>Flash</name>
  3018.         <script>-- Flashing icon script.-- ...by Genevi√®ve Crabe---- This script sets up a global variable "flash3" to indicate that-- the icon should be flashing; the actual flashing is done in the-- "idle" handler in the card script.---- flash1 is true if the checkbox is checked.on mouseUpglobal flash3set the visible of button "button1" to true -- make sure button is onput the hilite of me into flash3end mouseUp</script>
  3019.     </part>
  3020.     <part>
  3021.         <id>7</id>
  3022.         <type>button</type>
  3023.         <visible> <true /> </visible>
  3024.         <reserved5> 0 </reserved5>
  3025.         <reserved4> 0 </reserved4>
  3026.         <reserved3> 0 </reserved3>
  3027.         <reserved2> 0 </reserved2>
  3028.         <reserved1> 0 </reserved1>
  3029.         <enabled> <true /> </enabled>
  3030.         <rect>
  3031.             <left>419</left>
  3032.             <top>260</top>
  3033.             <right>468</right>
  3034.             <bottom>300</bottom>
  3035.         </rect>
  3036.         <style>transparent</style>
  3037.         <showName> <false /> </showName>
  3038.         <highlight> <false /> </highlight>
  3039.         <autoHighlight> <false /> </autoHighlight>
  3040.         <sharedHighlight> <true /> </sharedHighlight>
  3041.         <family>0</family>
  3042.         <titleWidth>0</titleWidth>
  3043.         <icon>1006</icon>
  3044.         <textAlign>center</textAlign>
  3045.         <font>Chicago</font>
  3046.         <textSize>12</textSize>
  3047.         <textStyle>plain</textStyle>
  3048.         <name>Button1</name>
  3049.         <script></script>
  3050.     </part>
  3051.     <content>
  3052.         <layer>background</layer>
  3053.         <id>1</id>
  3054.         <text>Flashing Icons</text>
  3055.     </content>
  3056.     <content>
  3057.         <layer>background</layer>
  3058.         <id>13</id>
  3059.         <text><span class="style1">ere are three techniques you can use if you want flashing icons.1. The first technique consists of a field, where a character is written and erased (in this case, the character option-shift-k in the Chicago font).  2. The second technique consists of a card graphic (it could also be in the background) which has an opaque field on top.  The flashing is accomplished by showing and hiding the field.3. The third technique consists of having a button which is made successively visible and invisible.In all cases, the checkbox which start and stop the flashing only set a flag;  the </span><span class="style3">idle</span><span class="style1"> handler in the card script does the actual work.Note that the performance can degrade somewhat if you try to flash more than one thing at a time.</span></text>
  3060.     </content>
  3061.     <content>
  3062.         <layer>card</layer>
  3063.         <id>1</id>
  3064.         <text>Ô£ø</text>
  3065.     </content>
  3066.     <name>Flashing icons</name>
  3067.     <script>-- Flashing icons script.-- ...by Genevi√®ve Crabe------------------------------------------------------------------------ The openCard handler initializes everything to non-flashing state.-- Clicking on one of the "Start Flashing" button will start things.on openCardglobal flash1,flash2,flash3put false into flash1put false into flash2put false into flash3---- reset things since we don't know how things were left last time--set the hilite of card button id 2 to falseput numToChar(240) into card field "field1"set the hilite of card button id 5 to falsehide card field "field2"set the hilite of card button id 6 to falseset the visible of button "button1" to truepass openCardend openCard------------------------------------------------------------------------ The idle handler checks whether one or more of the flags "flash1",-- flash2" or "flash3" is set, and if so, performs the flashing.on idleglobal flash1,flash2,flash3---- flash character in field--if flash1 then-- the character numToChar(240) is the Apple logo in Chicagoif card field "field1" = " " then put numToChar(240) into card field "field1"else put " " into card field "field1"end if---- flash graphic icon by showing/hiding an opaque field which is-- in front of it--if flash2 thenset the visible of card field "field2" to ¬¨not the visible of card field "field2"end if---- flash button--if flash3 thenset the visible of card button "button1" to ¬¨not the visible of card button "button1"end if--pass idle  -- should always pass idleend idle</script>
  3068. </card>
  3069.  
  3070.  
  3071. card_8571.xml
  3072. <?xml version="1.0" encoding="utf-8" ?>
  3073. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3074. <card>
  3075.     <id>8571</id>
  3076.     <filler1>0</filler1>
  3077.     <cantDelete> <false /> </cantDelete>
  3078.     <showPict> <true /> </showPict>
  3079.     <dontSearch> <false /> </dontSearch>
  3080.     <owner>2759</owner>
  3081.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3082.     <part>
  3083.         <id>4</id>
  3084.         <type>field</type>
  3085.         <visible> <true /> </visible>
  3086.         <dontWrap> <true /> </dontWrap>
  3087.         <dontSearch> <false /> </dontSearch>
  3088.         <sharedText> <false /> </sharedText>
  3089.         <fixedLineHeight> <true /> </fixedLineHeight>
  3090.         <autoTab> <false /> </autoTab>
  3091.         <lockText> <true /> </lockText>
  3092.         <rect>
  3093.             <left>302</left>
  3094.             <top>82</top>
  3095.             <right>445</right>
  3096.             <bottom>229</bottom>
  3097.         </rect>
  3098.         <style>scrolling</style>
  3099.         <autoSelect> <true /> </autoSelect>
  3100.         <showLines> <false /> </showLines>
  3101.         <wideMargins> <false /> </wideMargins>
  3102.         <multipleLines> <false /> </multipleLines>
  3103.         <reservedFamily> 0 </reservedFamily>
  3104.         <titleWidth>0</titleWidth>
  3105.         <icon>0</icon>
  3106.         <textAlign>left</textAlign>
  3107.         <font>Chicago</font>
  3108.         <textSize>12</textSize>
  3109.         <textStyle>plain</textStyle>
  3110.         <textHeight>16</textHeight>
  3111.         <name>My List Field</name>
  3112.         <script>-- This handler uses the selectedLine function which returns-- the selected line of the field.---- The actual line number is "word 2 of the selectedLine" because-- the clickLine function actually returns something like-- "line 2 to 2 of card field 2".---- ... by Genevi√®ve Crabe--on mouseUpput the selectedLine of me into sput word 1 to 2 of s into line 1 of card field "result"put line (word 2 of s) of me into line 2 of card field "result"end mouseUp</script>
  3113.     </part>
  3114.     <part>
  3115.         <id>5</id>
  3116.         <type>field</type>
  3117.         <visible> <true /> </visible>
  3118.         <dontWrap> <false /> </dontWrap>
  3119.         <dontSearch> <false /> </dontSearch>
  3120.         <sharedText> <false /> </sharedText>
  3121.         <fixedLineHeight> <false /> </fixedLineHeight>
  3122.         <autoTab> <false /> </autoTab>
  3123.         <lockText> <true /> </lockText>
  3124.         <rect>
  3125.             <left>302</left>
  3126.             <top>264</top>
  3127.             <right>445</right>
  3128.             <bottom>301</bottom>
  3129.         </rect>
  3130.         <style>transparent</style>
  3131.         <autoSelect> <false /> </autoSelect>
  3132.         <showLines> <false /> </showLines>
  3133.         <wideMargins> <false /> </wideMargins>
  3134.         <multipleLines> <false /> </multipleLines>
  3135.         <reservedFamily> 0 </reservedFamily>
  3136.         <titleWidth>0</titleWidth>
  3137.         <icon>0</icon>
  3138.         <textAlign>center</textAlign>
  3139.         <font>Geneva</font>
  3140.         <textSize>12</textSize>
  3141.         <textStyle>bold</textStyle>
  3142.         <textHeight>16</textHeight>
  3143.         <name>result</name>
  3144.         <script></script>
  3145.     </part>
  3146.     <content>
  3147.         <layer>background</layer>
  3148.         <id>1</id>
  3149.         <text>List Field (1 of 2)</text>
  3150.     </content>
  3151.     <content>
  3152.         <layer>background</layer>
  3153.         <id>13</id>
  3154.         <text><span class="style1">he HyperTalk function </span><span class="style3">selectedLine</span><span class="style1"> is used to determine which line of a field the user clicked on. Note that the field's </span><span class="style3">AutoSelect</span><span class="style1"> property must be on for this to work.This technique can be used when a field contains a list of things from which the user has to choose.Click the scrolling field on the right.See the field script to see how it's done.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  3155.     </content>
  3156.     <content>
  3157.         <layer>card</layer>
  3158.         <id>4</id>
  3159.         <text>BlackIndigoBlueGreenMagentaPuceTurquoiseYellowPurpleGrayOrangeRedWhite</text>
  3160.     </content>
  3161.     <name>List Field</name>
  3162.     <script>on closeCardset the scroll of card field "My List Field" to 0select line 0 of card field "My List Field"put empty into card field "result"pass closeCardend closeCard</script>
  3163. </card>
  3164.  
  3165.  
  3166. card_23739.xml
  3167. <?xml version="1.0" encoding="utf-8" ?>
  3168. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3169. <card>
  3170.     <id>23739</id>
  3171.     <filler1>0</filler1>
  3172.     <bitmap>BMAP_23839.pbm</bitmap>
  3173.     <cantDelete> <false /> </cantDelete>
  3174.     <showPict> <true /> </showPict>
  3175.     <dontSearch> <false /> </dontSearch>
  3176.     <owner>2759</owner>
  3177.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3178.     <part>
  3179.         <id>1</id>
  3180.         <type>field</type>
  3181.         <visible> <true /> </visible>
  3182.         <dontWrap> <true /> </dontWrap>
  3183.         <dontSearch> <false /> </dontSearch>
  3184.         <sharedText> <false /> </sharedText>
  3185.         <fixedLineHeight> <true /> </fixedLineHeight>
  3186.         <autoTab> <false /> </autoTab>
  3187.         <lockText> <true /> </lockText>
  3188.         <rect>
  3189.             <left>278</left>
  3190.             <top>89</top>
  3191.             <right>460</right>
  3192.             <bottom>218</bottom>
  3193.         </rect>
  3194.         <style>scrolling</style>
  3195.         <autoSelect> <true /> </autoSelect>
  3196.         <showLines> <false /> </showLines>
  3197.         <wideMargins> <false /> </wideMargins>
  3198.         <multipleLines> <false /> </multipleLines>
  3199.         <reservedFamily> 0 </reservedFamily>
  3200.         <titleWidth>0</titleWidth>
  3201.         <icon>0</icon>
  3202.         <textAlign>left</textAlign>
  3203.         <font>Geneva</font>
  3204.         <textSize>24</textSize>
  3205.         <textStyle>bold</textStyle>
  3206.         <textHeight>32</textHeight>
  3207.         <name>English</name>
  3208.         <script>-- This handler uses the selectedLine function to figure out which line-- of the field the user clicked on, and shows the corresponding line-- in the other field.-- ... by Genevi√®ve Crabeon mouseUpput word 2 of the selectedLine of me into sset the scroll of card field "Fran√ßais" to ¬¨(s - 1) * the textHeight of card field "Fran√ßais"end mouseUp</script>
  3209.     </part>
  3210.     <part>
  3211.         <id>2</id>
  3212.         <type>field</type>
  3213.         <visible> <true /> </visible>
  3214.         <dontWrap> <false /> </dontWrap>
  3215.         <dontSearch> <false /> </dontSearch>
  3216.         <sharedText> <false /> </sharedText>
  3217.         <fixedLineHeight> <true /> </fixedLineHeight>
  3218.         <autoTab> <false /> </autoTab>
  3219.         <lockText> <true /> </lockText>
  3220.         <rect>
  3221.             <left>278</left>
  3222.             <top>280</top>
  3223.             <right>460</right>
  3224.             <bottom>312</bottom>
  3225.         </rect>
  3226.         <style>scrolling</style>
  3227.         <autoSelect> <false /> </autoSelect>
  3228.         <showLines> <false /> </showLines>
  3229.         <wideMargins> <false /> </wideMargins>
  3230.         <multipleLines> <false /> </multipleLines>
  3231.         <reservedFamily> 0 </reservedFamily>
  3232.         <titleWidth>0</titleWidth>
  3233.         <icon>0</icon>
  3234.         <textAlign>left</textAlign>
  3235.         <font>Geneva</font>
  3236.         <textSize>24</textSize>
  3237.         <textStyle>bold</textStyle>
  3238.         <textHeight>32</textHeight>
  3239.         <name>Fran√ßais</name>
  3240.         <script></script>
  3241.     </part>
  3242.     <part>
  3243.         <id>3</id>
  3244.         <type>button</type>
  3245.         <visible> <true /> </visible>
  3246.         <reserved5> 0 </reserved5>
  3247.         <reserved4> 0 </reserved4>
  3248.         <reserved3> 0 </reserved3>
  3249.         <reserved2> 0 </reserved2>
  3250.         <reserved1> 0 </reserved1>
  3251.         <enabled> <true /> </enabled>
  3252.         <rect>
  3253.             <left>444</left>
  3254.             <top>280</top>
  3255.             <right>460</right>
  3256.             <bottom>312</bottom>
  3257.         </rect>
  3258.         <style>opaque</style>
  3259.         <showName> <false /> </showName>
  3260.         <highlight> <false /> </highlight>
  3261.         <autoHighlight> <false /> </autoHighlight>
  3262.         <sharedHighlight> <true /> </sharedHighlight>
  3263.         <family>0</family>
  3264.         <titleWidth>0</titleWidth>
  3265.         <icon>0</icon>
  3266.         <textAlign>center</textAlign>
  3267.         <font>Chicago</font>
  3268.         <textSize>12</textSize>
  3269.         <textStyle>plain</textStyle>
  3270.         <name>cover</name>
  3271.         <script></script>
  3272.     </part>
  3273.     <content>
  3274.         <layer>background</layer>
  3275.         <id>1</id>
  3276.         <text>List Field (2 of 2)</text>
  3277.     </content>
  3278.     <content>
  3279.         <layer>card</layer>
  3280.         <id>1</id>
  3281.         <text>beavercatdogferretfrogmonkeymouserabbitsquirrel</text>
  3282.     </content>
  3283.     <content>
  3284.         <layer>background</layer>
  3285.         <id>13</id>
  3286.         <text><span class="style1">ere is an example using this technique.  There are two fields.  The first contains a list of English words, and the second contains the corresponding French words.When you click on an English word, the field script figures out which line you clicked on, for example let's say line 4.  The French word is displayed by setting the scroll of the field to </span><span class="style3">          3 * textHeight</span><span class="style1">i.e., scroll off the first 3 lines so that the 4th word will be displayed.Note that the second field is a scrolling field, but its scroll bar is hidden by an opaque button so that it cannot be scrolled.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  3287.     </content>
  3288.     <content>
  3289.         <layer>card</layer>
  3290.         <id>2</id>
  3291.         <text>castorchatchienfuretgrenouillesingesourislapin√©cureuil</text>
  3292.     </content>
  3293.     <name></name>
  3294.     <script>on closeCardset the scroll of card field "English" to 0select line 0 of card field "English"set the scroll of card field "Fran√ßais" to 0pass closeCardend closeCard</script>
  3295. </card>
  3296.  
  3297.  
  3298. card_10220.xml
  3299. <?xml version="1.0" encoding="utf-8" ?>
  3300. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3301. <card>
  3302.     <id>10220</id>
  3303.     <filler1>0</filler1>
  3304.     <cantDelete> <false /> </cantDelete>
  3305.     <showPict> <true /> </showPict>
  3306.     <dontSearch> <false /> </dontSearch>
  3307.     <owner>2759</owner>
  3308.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3309.     <part>
  3310.         <id>4</id>
  3311.         <type>field</type>
  3312.         <visible> <true /> </visible>
  3313.         <dontWrap> <false /> </dontWrap>
  3314.         <dontSearch> <false /> </dontSearch>
  3315.         <sharedText> <false /> </sharedText>
  3316.         <fixedLineHeight> <true /> </fixedLineHeight>
  3317.         <autoTab> <false /> </autoTab>
  3318.         <lockText> <true /> </lockText>
  3319.         <rect>
  3320.             <left>276</left>
  3321.             <top>90</top>
  3322.             <right>476</right>
  3323.             <bottom>214</bottom>
  3324.         </rect>
  3325.         <style>scrolling</style>
  3326.         <autoSelect> <false /> </autoSelect>
  3327.         <showLines> <false /> </showLines>
  3328.         <wideMargins> <true /> </wideMargins>
  3329.         <multipleLines> <false /> </multipleLines>
  3330.         <reservedFamily> 0 </reservedFamily>
  3331.         <titleWidth>0</titleWidth>
  3332.         <icon>0</icon>
  3333.         <textAlign>left</textAlign>
  3334.         <font>Geneva</font>
  3335.         <textSize>12</textSize>
  3336.         <textStyle>plain</textStyle>
  3337.         <textHeight>16</textHeight>
  3338.         <name></name>
  3339.         <script>-- This handler figures out which word in a field you clicked on.-- ... by Genevi√®ve Crabeon mouseUpget the clicktextif it is empty thenget "You clicked on" & return & "empty space in the field."elseget "You clicked on the word" & return & quote & it & quoteend ifput it into card field "result"end mouseUp</script>
  3340.     </part>
  3341.     <part>
  3342.         <id>5</id>
  3343.         <type>field</type>
  3344.         <visible> <true /> </visible>
  3345.         <dontWrap> <false /> </dontWrap>
  3346.         <dontSearch> <false /> </dontSearch>
  3347.         <sharedText> <false /> </sharedText>
  3348.         <fixedLineHeight> <false /> </fixedLineHeight>
  3349.         <autoTab> <false /> </autoTab>
  3350.         <lockText> <true /> </lockText>
  3351.         <rect>
  3352.             <left>264</left>
  3353.             <top>256</top>
  3354.             <right>488</right>
  3355.             <bottom>293</bottom>
  3356.         </rect>
  3357.         <style>transparent</style>
  3358.         <autoSelect> <false /> </autoSelect>
  3359.         <showLines> <false /> </showLines>
  3360.         <wideMargins> <false /> </wideMargins>
  3361.         <multipleLines> <false /> </multipleLines>
  3362.         <reservedFamily> 0 </reservedFamily>
  3363.         <titleWidth>0</titleWidth>
  3364.         <icon>0</icon>
  3365.         <textAlign>center</textAlign>
  3366.         <font>Geneva</font>
  3367.         <textSize>12</textSize>
  3368.         <textStyle>bold</textStyle>
  3369.         <textHeight>16</textHeight>
  3370.         <name>result</name>
  3371.         <script></script>
  3372.     </part>
  3373.     <content>
  3374.         <layer>background</layer>
  3375.         <id>1</id>
  3376.         <text>Click on a Word (1 of 3)</text>
  3377.     </content>
  3378.     <content>
  3379.         <layer>card</layer>
  3380.         <id>4</id>
  3381.         <text>The clickText function tells you which word was clicked on in the field.Try clicking anywhere on this field.</text>
  3382.     </content>
  3383.     <content>
  3384.         <layer>background</layer>
  3385.         <id>13</id>
  3386.         <text><span class="style1">he HyperTalk function </span><span class="style3">clickText</span><span class="style1"> is used to determine which word of a field the user clicked on. Note that the field must be locked for this to work.This technique can be used to implement a HyperText interface, where the user can click on arbitrary words in the text.See the field script to see how this works.</span></text>
  3387.     </content>
  3388.     <name>Click on a word in a field</name>
  3389.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  3390. </card>
  3391.  
  3392.  
  3393. card_23481.xml
  3394. <?xml version="1.0" encoding="utf-8" ?>
  3395. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3396. <card>
  3397.     <id>23481</id>
  3398.     <filler1>0</filler1>
  3399.     <cantDelete> <false /> </cantDelete>
  3400.     <showPict> <true /> </showPict>
  3401.     <dontSearch> <false /> </dontSearch>
  3402.     <owner>2759</owner>
  3403.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3404.     <part>
  3405.         <id>4</id>
  3406.         <type>field</type>
  3407.         <visible> <true /> </visible>
  3408.         <dontWrap> <false /> </dontWrap>
  3409.         <dontSearch> <false /> </dontSearch>
  3410.         <sharedText> <false /> </sharedText>
  3411.         <fixedLineHeight> <true /> </fixedLineHeight>
  3412.         <autoTab> <false /> </autoTab>
  3413.         <lockText> <true /> </lockText>
  3414.         <rect>
  3415.             <left>272</left>
  3416.             <top>86</top>
  3417.             <right>482</right>
  3418.             <bottom>254</bottom>
  3419.         </rect>
  3420.         <style>scrolling</style>
  3421.         <autoSelect> <false /> </autoSelect>
  3422.         <showLines> <false /> </showLines>
  3423.         <wideMargins> <true /> </wideMargins>
  3424.         <multipleLines> <false /> </multipleLines>
  3425.         <reservedFamily> 0 </reservedFamily>
  3426.         <titleWidth>0</titleWidth>
  3427.         <icon>0</icon>
  3428.         <textAlign>left</textAlign>
  3429.         <font>Geneva</font>
  3430.         <textSize>12</textSize>
  3431.         <textStyle>plain</textStyle>
  3432.         <textHeight>16</textHeight>
  3433.         <name></name>
  3434.         <script>-- This handler figures out which word (or group of words) in-- a field you clicked on.-- ... by Genevi√®ve Crabeon mouseUpget the clicktextif it is empty thenget "You clicked on" & return & "empty space in the field."elseget "You clicked on" & return & quote & it & quoteend ifput it into card field "result"end mouseUp</script>
  3435.     </part>
  3436.     <part>
  3437.         <id>5</id>
  3438.         <type>button</type>
  3439.         <visible> <true /> </visible>
  3440.         <reserved5> 0 </reserved5>
  3441.         <reserved4> 0 </reserved4>
  3442.         <reserved3> 0 </reserved3>
  3443.         <reserved2> 0 </reserved2>
  3444.         <reserved1> 0 </reserved1>
  3445.         <enabled> <true /> </enabled>
  3446.         <rect>
  3447.             <left>306</left>
  3448.             <top>62</top>
  3449.             <right>442</right>
  3450.             <bottom>80</bottom>
  3451.         </rect>
  3452.         <style>checkbox</style>
  3453.         <showName> <true /> </showName>
  3454.         <highlight> <false /> </highlight>
  3455.         <autoHighlight> <true /> </autoHighlight>
  3456.         <sharedHighlight> <true /> </sharedHighlight>
  3457.         <family>0</family>
  3458.         <titleWidth>0</titleWidth>
  3459.         <icon>0</icon>
  3460.         <textAlign>center</textAlign>
  3461.         <font>Geneva</font>
  3462.         <textSize>10</textSize>
  3463.         <textStyle>bold</textStyle>
  3464.         <name>Show Grouped Text</name>
  3465.         <script>on mouseUpif the hilite of me then show groupselse hide groupsend mouseUp</script>
  3466.     </part>
  3467.     <part>
  3468.         <id>6</id>
  3469.         <type>field</type>
  3470.         <visible> <true /> </visible>
  3471.         <dontWrap> <false /> </dontWrap>
  3472.         <dontSearch> <false /> </dontSearch>
  3473.         <sharedText> <false /> </sharedText>
  3474.         <fixedLineHeight> <false /> </fixedLineHeight>
  3475.         <autoTab> <false /> </autoTab>
  3476.         <lockText> <true /> </lockText>
  3477.         <rect>
  3478.             <left>263</left>
  3479.             <top>274</top>
  3480.             <right>487</right>
  3481.             <bottom>311</bottom>
  3482.         </rect>
  3483.         <style>transparent</style>
  3484.         <autoSelect> <false /> </autoSelect>
  3485.         <showLines> <false /> </showLines>
  3486.         <wideMargins> <false /> </wideMargins>
  3487.         <multipleLines> <false /> </multipleLines>
  3488.         <reservedFamily> 0 </reservedFamily>
  3489.         <titleWidth>0</titleWidth>
  3490.         <icon>0</icon>
  3491.         <textAlign>center</textAlign>
  3492.         <font>Geneva</font>
  3493.         <textSize>12</textSize>
  3494.         <textStyle>bold</textStyle>
  3495.         <textHeight>16</textHeight>
  3496.         <name>result</name>
  3497.         <script></script>
  3498.     </part>
  3499.     <content>
  3500.         <layer>background</layer>
  3501.         <id>1</id>
  3502.         <text>Click on a Word (2 of 3)</text>
  3503.     </content>
  3504.     <content>
  3505.         <layer>background</layer>
  3506.         <id>13</id>
  3507.         <text><span class="style1">n the previous example, the </span><span class="style3">clicktext</span><span class="style1"> function returns the word the user clicked on. This is fine for single words.But sometimes you want the user to click on an expression composed of two or more words; for this, you select adjacent words, and select the </span><span class="style3">Group</span><span class="style1"> style in the </span><span class="style3">Style</span><span class="style1"> menu. When grouped, the words behave as one word as far as the clickText function is concerned.In the field on the right, the grouped words are </span><span class="style23">clickText function</span><span class="style1">, </span><span class="style23">Grouped text</span><span class="style1"> and </span><span class="style23">Style menu</span><span class="style1">, Try clicking on any of them (also try clicking on other words).You can get HyperCard to display gray underline under all grouped text by using the command </span><span class="style3">show groups</span><span class="style1">. Use the </span><span class="style3">Show Grouped Text</span><span class="style1"> checkbox to see how that works.</span></text>
  3508.     </content>
  3509.     <content>
  3510.         <layer>card</layer>
  3511.         <id>4</id>
  3512.         <text><span class="style1">he </span><span class="style7"><a href="#" class="group">clickText function</a></span><span class="style1"> tells you which word was clicked on in the field. To detect clicking on a group of words like </span><span class="style7"><a href="#" class="group">Grouped Text</a></span><span class="style1">, use the Group style in the </span><span class="style7"><a href="#" class="group">Style menu</a></span><span class="style1">.Try clicking anywhere on this field.</span></text>
  3513.     </content>
  3514.     <name></name>
  3515.     <script>on closeCardif the hilite of cd btn "Show Grouped Text" thenset the hilite of cd btn "Show Grouped Text" to falsehide groupsend ifput empty into card field "result"pass closeCardend closeCard</script>
  3516. </card>
  3517.  
  3518.  
  3519. card_6375.xml
  3520. <?xml version="1.0" encoding="utf-8" ?>
  3521. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3522. <card>
  3523.     <id>6375</id>
  3524.     <filler1>0</filler1>
  3525.     <cantDelete> <false /> </cantDelete>
  3526.     <showPict> <true /> </showPict>
  3527.     <dontSearch> <false /> </dontSearch>
  3528.     <owner>2759</owner>
  3529.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3530.     <part>
  3531.         <id>4</id>
  3532.         <type>field</type>
  3533.         <visible> <true /> </visible>
  3534.         <dontWrap> <false /> </dontWrap>
  3535.         <dontSearch> <false /> </dontSearch>
  3536.         <sharedText> <false /> </sharedText>
  3537.         <fixedLineHeight> <true /> </fixedLineHeight>
  3538.         <autoTab> <false /> </autoTab>
  3539.         <lockText> <true /> </lockText>
  3540.         <rect>
  3541.             <left>275</left>
  3542.             <top>92</top>
  3543.             <right>475</right>
  3544.             <bottom>218</bottom>
  3545.         </rect>
  3546.         <style>scrolling</style>
  3547.         <autoSelect> <false /> </autoSelect>
  3548.         <showLines> <false /> </showLines>
  3549.         <wideMargins> <true /> </wideMargins>
  3550.         <multipleLines> <false /> </multipleLines>
  3551.         <reservedFamily> 0 </reservedFamily>
  3552.         <titleWidth>0</titleWidth>
  3553.         <icon>0</icon>
  3554.         <textAlign>left</textAlign>
  3555.         <font>Geneva</font>
  3556.         <textSize>12</textSize>
  3557.         <textStyle>plain</textStyle>
  3558.         <textHeight>16</textHeight>
  3559.         <name></name>
  3560.         <script>-- This handler figures out which word (or group of words) in-- a field you clicked on.-- ... by Genevi√®ve Crabeon mouseUpput empty into card field "result"put the clicktext into theTextif the textStyle of the clickChunk contains "bold" thenget "You clicked on" & return & quote & theText & quoteput it into card field "result"end ifend mouseUp</script>
  3561.     </part>
  3562.     <part>
  3563.         <id>6</id>
  3564.         <type>field</type>
  3565.         <visible> <true /> </visible>
  3566.         <dontWrap> <false /> </dontWrap>
  3567.         <dontSearch> <false /> </dontSearch>
  3568.         <sharedText> <false /> </sharedText>
  3569.         <fixedLineHeight> <false /> </fixedLineHeight>
  3570.         <autoTab> <false /> </autoTab>
  3571.         <lockText> <true /> </lockText>
  3572.         <rect>
  3573.             <left>261</left>
  3574.             <top>274</top>
  3575.             <right>485</right>
  3576.             <bottom>311</bottom>
  3577.         </rect>
  3578.         <style>transparent</style>
  3579.         <autoSelect> <false /> </autoSelect>
  3580.         <showLines> <false /> </showLines>
  3581.         <wideMargins> <false /> </wideMargins>
  3582.         <multipleLines> <false /> </multipleLines>
  3583.         <reservedFamily> 0 </reservedFamily>
  3584.         <titleWidth>0</titleWidth>
  3585.         <icon>0</icon>
  3586.         <textAlign>center</textAlign>
  3587.         <font>Geneva</font>
  3588.         <textSize>12</textSize>
  3589.         <textStyle>bold</textStyle>
  3590.         <textHeight>16</textHeight>
  3591.         <name>result</name>
  3592.         <script></script>
  3593.     </part>
  3594.     <part>
  3595.         <id>7</id>
  3596.         <type>button</type>
  3597.         <visible> <true /> </visible>
  3598.         <reserved5> 0 </reserved5>
  3599.         <reserved4> 0 </reserved4>
  3600.         <reserved3> 0 </reserved3>
  3601.         <reserved2> 0 </reserved2>
  3602.         <reserved1> 0 </reserved1>
  3603.         <enabled> <true /> </enabled>
  3604.         <rect>
  3605.             <left>306</left>
  3606.             <top>62</top>
  3607.             <right>442</right>
  3608.             <bottom>80</bottom>
  3609.         </rect>
  3610.         <style>checkbox</style>
  3611.         <showName> <true /> </showName>
  3612.         <highlight> <false /> </highlight>
  3613.         <autoHighlight> <true /> </autoHighlight>
  3614.         <sharedHighlight> <true /> </sharedHighlight>
  3615.         <family>0</family>
  3616.         <titleWidth>0</titleWidth>
  3617.         <icon>0</icon>
  3618.         <textAlign>center</textAlign>
  3619.         <font>Geneva</font>
  3620.         <textSize>10</textSize>
  3621.         <textStyle>bold</textStyle>
  3622.         <name>Show Grouped Text</name>
  3623.         <script>on mouseUpif the hilite of me then show groupselse hide groupsend mouseUp</script>
  3624.     </part>
  3625.     <content>
  3626.         <layer>background</layer>
  3627.         <id>1</id>
  3628.         <text>Click on a Word (3 of 3)</text>
  3629.     </content>
  3630.     <content>
  3631.         <layer>background</layer>
  3632.         <id>13</id>
  3633.         <text><span class="style1">ere is an example of the technique described in the previous card.In this case, there are only certain words that we want the user to click on. To give the user a visual cue, we make these words and groups of words </span><span class="style3">bold</span><span class="style1">.In addition to giving the user a visual cue of where to click, this also makes it possible for the script to ignore irrelevant clicks by checking if the text the user clicked on is </span><span class="style3">bold</span><span class="style1">.See the field script.</span></text>
  3634.     </content>
  3635.     <content>
  3636.         <layer>card</layer>
  3637.         <id>4</id>
  3638.         <text><span class="style1">he </span><span class="style6"><a href="#" class="group">clickText function</a></span><span class="style1"> tells you which word was clicked on in the field. To detect clicking on a group of words like </span><span class="style6"><a href="#" class="group">Grouped Text</a></span><span class="style1">, use the </span><span class="style3">Group</span><span class="style1"> style in the </span><span class="style3">Style</span><span class="style1"> menu.</span></text>
  3639.     </content>
  3640.     <name></name>
  3641.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  3642. </card>
  3643.  
  3644.  
  3645. card_10902.xml
  3646. <?xml version="1.0" encoding="utf-8" ?>
  3647. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3648. <card>
  3649.     <id>10902</id>
  3650.     <filler1>0</filler1>
  3651.     <bitmap>BMAP_21776.pbm</bitmap>
  3652.     <cantDelete> <false /> </cantDelete>
  3653.     <showPict> <true /> </showPict>
  3654.     <dontSearch> <false /> </dontSearch>
  3655.     <owner>2759</owner>
  3656.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3657.     <part>
  3658.         <id>1</id>
  3659.         <type>button</type>
  3660.         <visible> <true /> </visible>
  3661.         <reserved5> 0 </reserved5>
  3662.         <reserved4> 0 </reserved4>
  3663.         <reserved3> 0 </reserved3>
  3664.         <reserved2> 0 </reserved2>
  3665.         <reserved1> 0 </reserved1>
  3666.         <enabled> <true /> </enabled>
  3667.         <rect>
  3668.             <left>438</left>
  3669.             <top>79</top>
  3670.             <right>467</right>
  3671.             <bottom>243</bottom>
  3672.         </rect>
  3673.         <style>rectangle</style>
  3674.         <showName> <false /> </showName>
  3675.         <highlight> <true /> </highlight>
  3676.         <autoHighlight> <false /> </autoHighlight>
  3677.         <sharedHighlight> <true /> </sharedHighlight>
  3678.         <family>0</family>
  3679.         <titleWidth>0</titleWidth>
  3680.         <icon>0</icon>
  3681.         <textAlign>center</textAlign>
  3682.         <font>Chicago</font>
  3683.         <textSize>12</textSize>
  3684.         <textStyle>plain</textStyle>
  3685.         <name>vertical bar</name>
  3686.         <script></script>
  3687.     </part>
  3688.     <part>
  3689.         <id>2</id>
  3690.         <type>button</type>
  3691.         <visible> <true /> </visible>
  3692.         <reserved5> 0 </reserved5>
  3693.         <reserved4> 0 </reserved4>
  3694.         <reserved3> 0 </reserved3>
  3695.         <reserved2> 0 </reserved2>
  3696.         <reserved1> 0 </reserved1>
  3697.         <enabled> <true /> </enabled>
  3698.         <rect>
  3699.             <left>437</left>
  3700.             <top>66</top>
  3701.             <right>468</right>
  3702.             <bottom>244</bottom>
  3703.         </rect>
  3704.         <style>transparent</style>
  3705.         <showName> <false /> </showName>
  3706.         <highlight> <false /> </highlight>
  3707.         <autoHighlight> <false /> </autoHighlight>
  3708.         <sharedHighlight> <true /> </sharedHighlight>
  3709.         <family>0</family>
  3710.         <titleWidth>0</titleWidth>
  3711.         <icon>0</icon>
  3712.         <textAlign>center</textAlign>
  3713.         <font>Chicago</font>
  3714.         <textSize>12</textSize>
  3715.         <textStyle>plain</textStyle>
  3716.         <name></name>
  3717.         <script>-- Animated bar button.--... by Genevi√®ve crabeon mouseDown---- get the starting rectangle of the black bar--put the rect of cd btn "vertical bar" into rrepeat until the mouse is up---- get the mouse position which will determine the new-- position of the bar--put item 2 of the mouseLoc into v---- make sure the bar does not go above or below the boundary--put max (v, the top of me) into vput min (v, the bottom of me) into v---- set the new dimensions of the bar--put v into item 2 of rset the rect of cd btn "vertical bar" to rend repeatend mouseDown</script>
  3718.     </part>
  3719.     <part>
  3720.         <id>3</id>
  3721.         <type>button</type>
  3722.         <visible> <true /> </visible>
  3723.         <reserved5> 0 </reserved5>
  3724.         <reserved4> 0 </reserved4>
  3725.         <reserved3> 0 </reserved3>
  3726.         <reserved2> 0 </reserved2>
  3727.         <reserved1> 0 </reserved1>
  3728.         <enabled> <true /> </enabled>
  3729.         <rect>
  3730.             <left>268</left>
  3731.             <top>269</top>
  3732.             <right>339</right>
  3733.             <bottom>298</bottom>
  3734.         </rect>
  3735.         <style>rectangle</style>
  3736.         <showName> <false /> </showName>
  3737.         <highlight> <true /> </highlight>
  3738.         <autoHighlight> <false /> </autoHighlight>
  3739.         <sharedHighlight> <true /> </sharedHighlight>
  3740.         <family>0</family>
  3741.         <titleWidth>0</titleWidth>
  3742.         <icon>0</icon>
  3743.         <textAlign>center</textAlign>
  3744.         <font>Chicago</font>
  3745.         <textSize>12</textSize>
  3746.         <textStyle>plain</textStyle>
  3747.         <name>horizontal bar</name>
  3748.         <script></script>
  3749.     </part>
  3750.     <part>
  3751.         <id>4</id>
  3752.         <type>button</type>
  3753.         <visible> <true /> </visible>
  3754.         <reserved5> 0 </reserved5>
  3755.         <reserved4> 0 </reserved4>
  3756.         <reserved3> 0 </reserved3>
  3757.         <reserved2> 0 </reserved2>
  3758.         <reserved1> 0 </reserved1>
  3759.         <enabled> <true /> </enabled>
  3760.         <rect>
  3761.             <left>267</left>
  3762.             <top>268</top>
  3763.             <right>445</right>
  3764.             <bottom>299</bottom>
  3765.         </rect>
  3766.         <style>transparent</style>
  3767.         <showName> <false /> </showName>
  3768.         <highlight> <false /> </highlight>
  3769.         <autoHighlight> <false /> </autoHighlight>
  3770.         <sharedHighlight> <true /> </sharedHighlight>
  3771.         <family>0</family>
  3772.         <titleWidth>0</titleWidth>
  3773.         <icon>0</icon>
  3774.         <textAlign>center</textAlign>
  3775.         <font>Chicago</font>
  3776.         <textSize>12</textSize>
  3777.         <textStyle>plain</textStyle>
  3778.         <name></name>
  3779.         <script>-- Animated bar button.--... by Genevi√®ve crabeon mouseDown---- get the starting rectangle of the black bar--put the rect of cd btn "horizontal bar" into rrepeat until the mouse is up---- get the mouse position which will determine the new-- position of the bar--put item 1 of the mouseLoc into h---- make sure the bar does not go beyond the boundary--put min (h, the right of me) into hput max (h, the left of me) into h---- set the new dimensions of the bar--put h into item 3 of rset the rect of cd btn "horizontal bar" to rend repeatend mouseDown</script>
  3780.     </part>
  3781.     <content>
  3782.         <layer>background</layer>
  3783.         <id>1</id>
  3784.         <text>Moving Bars</text>
  3785.     </content>
  3786.     <content>
  3787.         <layer>background</layer>
  3788.         <id>13</id>
  3789.         <text>These are animated bars which you can click and drag, within the given boundaries.Each bar consists of three components:- a rectangle, drawn with the paint tools, which shows the boundary;- a button with its hilite turned on; this is the black bar which is resized as you drag it;- a transparent button on top, which contains the script which resizes the black bar.</text>
  3790.     </content>
  3791.     <name>Moving Bars</name>
  3792.     <script></script>
  3793. </card>
  3794.  
  3795.  
  3796. card_3603.xml
  3797. <?xml version="1.0" encoding="utf-8" ?>
  3798. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3799. <card>
  3800.     <id>3603</id>
  3801.     <filler1>0</filler1>
  3802.     <cantDelete> <false /> </cantDelete>
  3803.     <showPict> <true /> </showPict>
  3804.     <dontSearch> <false /> </dontSearch>
  3805.     <owner>2759</owner>
  3806.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3807.     <part>
  3808.         <id>1</id>
  3809.         <type>field</type>
  3810.         <visible> <false /> </visible>
  3811.         <dontWrap> <false /> </dontWrap>
  3812.         <dontSearch> <false /> </dontSearch>
  3813.         <sharedText> <false /> </sharedText>
  3814.         <fixedLineHeight> <true /> </fixedLineHeight>
  3815.         <autoTab> <false /> </autoTab>
  3816.         <lockText> <true /> </lockText>
  3817.         <rect>
  3818.             <left>293</left>
  3819.             <top>153</top>
  3820.             <right>473</right>
  3821.             <bottom>218</bottom>
  3822.         </rect>
  3823.         <style>rectangle</style>
  3824.         <autoSelect> <false /> </autoSelect>
  3825.         <showLines> <false /> </showLines>
  3826.         <wideMargins> <true /> </wideMargins>
  3827.         <multipleLines> <false /> </multipleLines>
  3828.         <reservedFamily> 0 </reservedFamily>
  3829.         <titleWidth>0</titleWidth>
  3830.         <icon>0</icon>
  3831.         <textAlign>center</textAlign>
  3832.         <font>Geneva</font>
  3833.         <textSize>12</textSize>
  3834.         <textStyle>bold</textStyle>
  3835.         <textHeight>16</textHeight>
  3836.         <name>Hidden</name>
  3837.         <script></script>
  3838.     </part>
  3839.     <part>
  3840.         <id>2</id>
  3841.         <type>button</type>
  3842.         <visible> <true /> </visible>
  3843.         <reserved5> 0 </reserved5>
  3844.         <reserved4> 0 </reserved4>
  3845.         <reserved3> 0 </reserved3>
  3846.         <reserved2> 0 </reserved2>
  3847.         <reserved1> 0 </reserved1>
  3848.         <enabled> <true /> </enabled>
  3849.         <rect>
  3850.             <left>273</left>
  3851.             <top>98</top>
  3852.             <right>475</right>
  3853.             <bottom>120</bottom>
  3854.         </rect>
  3855.         <style>roundrect</style>
  3856.         <showName> <true /> </showName>
  3857.         <highlight> <false /> </highlight>
  3858.         <autoHighlight> <true /> </autoHighlight>
  3859.         <sharedHighlight> <true /> </sharedHighlight>
  3860.         <family>0</family>
  3861.         <titleWidth>0</titleWidth>
  3862.         <icon>0</icon>
  3863.         <textAlign>center</textAlign>
  3864.         <font>Chicago</font>
  3865.         <textSize>12</textSize>
  3866.         <textStyle>condense</textStyle>
  3867.         <name>Click & Hold to see hidden field</name>
  3868.         <script>on mouseDownshow card field "hidden"wait until the mouse is uphide card field "hidden"end mouseDown</script>
  3869.     </part>
  3870.     <content>
  3871.         <layer>background</layer>
  3872.         <id>1</id>
  3873.         <text>Remembering Information</text>
  3874.     </content>
  3875.     <content>
  3876.         <layer>card</layer>
  3877.         <id>1</id>
  3878.         <text>136Mon, May 30, 1994</text>
  3879.     </content>
  3880.     <content>
  3881.         <layer>background</layer>
  3882.         <id>13</id>
  3883.         <text>Sometimes, you may want to preserve some information after a stack is closed, and even if the user quits HyperCard.  You cannot use variables, since their values will be lost.The solution is to use a field which is hidden from the user; contents of fields are always preserved.As an example, there is a field in this card which keeps track of how many times the card was opened, and the date of the last access (check the card script).  The field is hidden from the user, but a script could make use of this value.  In case you are curious, I have provided a button for you to peek at the field (hold down the button to see it).</text>
  3884.     </content>
  3885.     <name>Remembering information</name>
  3886.     <script>-- Use a hidden field to keep track of how many times this card-- has been accessed.-- ... by Genevi√®ve Crabeon openCardadd 1 to line 1 of card field "hidden"put the abbrev date into line 3 of card field 1pass openCardend openCard</script>
  3887. </card>
  3888.  
  3889.  
  3890. card_7263.xml
  3891. <?xml version="1.0" encoding="utf-8" ?>
  3892. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3893. <card>
  3894.     <id>7263</id>
  3895.     <filler1>0</filler1>
  3896.     <cantDelete> <false /> </cantDelete>
  3897.     <showPict> <true /> </showPict>
  3898.     <dontSearch> <false /> </dontSearch>
  3899.     <owner>2759</owner>
  3900.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  3901.     <part>
  3902.         <id>1</id>
  3903.         <type>button</type>
  3904.         <visible> <true /> </visible>
  3905.         <reserved5> 0 </reserved5>
  3906.         <reserved4> 0 </reserved4>
  3907.         <reserved3> 0 </reserved3>
  3908.         <reserved2> 0 </reserved2>
  3909.         <reserved1> 0 </reserved1>
  3910.         <enabled> <true /> </enabled>
  3911.         <rect>
  3912.             <left>255</left>
  3913.             <top>77</top>
  3914.             <right>382</right>
  3915.             <bottom>99</bottom>
  3916.         </rect>
  3917.         <style>roundrect</style>
  3918.         <showName> <true /> </showName>
  3919.         <highlight> <false /> </highlight>
  3920.         <autoHighlight> <true /> </autoHighlight>
  3921.         <sharedHighlight> <true /> </sharedHighlight>
  3922.         <family>0</family>
  3923.         <titleWidth>0</titleWidth>
  3924.         <icon>0</icon>
  3925.         <textAlign>center</textAlign>
  3926.         <font>Chicago</font>
  3927.         <textSize>12</textSize>
  3928.         <textStyle>plain</textStyle>
  3929.         <name>Copy Text</name>
  3930.         <script>-- This script copies the contents of a field into the clipboard.-- ...by Genevi√®ve Crabeon mouseUpif card field 1 is empty thenanswer "The field is empty." & return ¬¨& "You must enter some text in the field first."elseselect text of card field 1doMenu "Copy Text"   -- copy contents into clipboardselect empty  -- de-selects the textend ifend mouseUp</script>
  3931.     </part>
  3932.     <part>
  3933.         <id>4</id>
  3934.         <type>field</type>
  3935.         <visible> <true /> </visible>
  3936.         <dontWrap> <false /> </dontWrap>
  3937.         <dontSearch> <false /> </dontSearch>
  3938.         <sharedText> <false /> </sharedText>
  3939.         <fixedLineHeight> <true /> </fixedLineHeight>
  3940.         <autoTab> <false /> </autoTab>
  3941.         <lockText> <false /> </lockText>
  3942.         <rect>
  3943.             <left>303</left>
  3944.             <top>102</top>
  3945.             <right>469</right>
  3946.             <bottom>173</bottom>
  3947.         </rect>
  3948.         <style>rectangle</style>
  3949.         <autoSelect> <false /> </autoSelect>
  3950.         <showLines> <false /> </showLines>
  3951.         <wideMargins> <true /> </wideMargins>
  3952.         <multipleLines> <false /> </multipleLines>
  3953.         <reservedFamily> 0 </reservedFamily>
  3954.         <titleWidth>0</titleWidth>
  3955.         <icon>0</icon>
  3956.         <textAlign>center</textAlign>
  3957.         <font>Geneva</font>
  3958.         <textSize>12</textSize>
  3959.         <textStyle>plain</textStyle>
  3960.         <textHeight>16</textHeight>
  3961.         <name></name>
  3962.         <script></script>
  3963.     </part>
  3964.     <part>
  3965.         <id>7</id>
  3966.         <type>button</type>
  3967.         <visible> <true /> </visible>
  3968.         <reserved5> 0 </reserved5>
  3969.         <reserved4> 0 </reserved4>
  3970.         <reserved3> 0 </reserved3>
  3971.         <reserved2> 0 </reserved2>
  3972.         <reserved1> 0 </reserved1>
  3973.         <enabled> <true /> </enabled>
  3974.         <rect>
  3975.             <left>255</left>
  3976.             <top>199</top>
  3977.             <right>382</right>
  3978.             <bottom>221</bottom>
  3979.         </rect>
  3980.         <style>roundrect</style>
  3981.         <showName> <true /> </showName>
  3982.         <highlight> <false /> </highlight>
  3983.         <autoHighlight> <true /> </autoHighlight>
  3984.         <sharedHighlight> <true /> </sharedHighlight>
  3985.         <family>0</family>
  3986.         <titleWidth>0</titleWidth>
  3987.         <icon>0</icon>
  3988.         <textAlign>center</textAlign>
  3989.         <font>Chicago</font>
  3990.         <textSize>12</textSize>
  3991.         <textStyle>plain</textStyle>
  3992.         <name>Paste Text</name>
  3993.         <script>-- This script pastes the contents of the clipboard into a field.-- ...by Genevi√®ve Crabeon mouseUpselect text of card field 2doMenu "Paste Text"  -- replace contents of field with clipboardend mouseUp</script>
  3994.     </part>
  3995.     <part>
  3996.         <id>8</id>
  3997.         <type>field</type>
  3998.         <visible> <true /> </visible>
  3999.         <dontWrap> <false /> </dontWrap>
  4000.         <dontSearch> <false /> </dontSearch>
  4001.         <sharedText> <false /> </sharedText>
  4002.         <fixedLineHeight> <true /> </fixedLineHeight>
  4003.         <autoTab> <false /> </autoTab>
  4004.         <lockText> <false /> </lockText>
  4005.         <rect>
  4006.             <left>303</left>
  4007.             <top>224</top>
  4008.             <right>469</right>
  4009.             <bottom>295</bottom>
  4010.         </rect>
  4011.         <style>rectangle</style>
  4012.         <autoSelect> <false /> </autoSelect>
  4013.         <showLines> <false /> </showLines>
  4014.         <wideMargins> <true /> </wideMargins>
  4015.         <multipleLines> <false /> </multipleLines>
  4016.         <reservedFamily> 0 </reservedFamily>
  4017.         <titleWidth>0</titleWidth>
  4018.         <icon>0</icon>
  4019.         <textAlign>center</textAlign>
  4020.         <font>Geneva</font>
  4021.         <textSize>12</textSize>
  4022.         <textStyle>plain</textStyle>
  4023.         <textHeight>16</textHeight>
  4024.         <name></name>
  4025.         <script></script>
  4026.     </part>
  4027.     <content>
  4028.         <layer>background</layer>
  4029.         <id>1</id>
  4030.         <text>Copy and Paste Text</text>
  4031.     </content>
  4032.     <content>
  4033.         <layer>background</layer>
  4034.         <id>13</id>
  4035.         <text><span class="style1">f you use HyperCard in conjunction with other applications, you might want to copy and paste text between fields and the clipboard.The </span><span class="style3">Copy Text</span><span class="style1"> button on the right will copy the text from the top field into the clipboard.  It uses the </span><span class="style3">select</span><span class="style1"> command.The </span><span class="style3">Paste Text</span><span class="style1"> button selects the text of the second field, and pastes the clipboard text using the </span><span class="style3">Paste Text</span><span class="style1"> menu command.Try changing the text in the top field, and try the Copy and Paste again.</span></text>
  4036.     </content>
  4037.     <content>
  4038.         <layer>card</layer>
  4039.         <id>4</id>
  4040.         <text>This is the text which will be copied and pasted below.</text>
  4041.     </content>
  4042.     <name>Copy and Paste text</name>
  4043.     <script>on closeCardput "This is the text which will be copied and pasted below." ¬¨into card field 1put empty into card field 2pass closeCardend closeCard</script>
  4044. </card>
  4045.  
  4046.  
  4047. card_6480.xml
  4048. <?xml version="1.0" encoding="utf-8" ?>
  4049. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4050. <card>
  4051.     <id>6480</id>
  4052.     <filler1>0</filler1>
  4053.     <bitmap>BMAP_12142.pbm</bitmap>
  4054.     <cantDelete> <false /> </cantDelete>
  4055.     <showPict> <true /> </showPict>
  4056.     <dontSearch> <false /> </dontSearch>
  4057.     <owner>2759</owner>
  4058.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  4059.     <part>
  4060.         <id>1</id>
  4061.         <type>field</type>
  4062.         <visible> <true /> </visible>
  4063.         <dontWrap> <false /> </dontWrap>
  4064.         <dontSearch> <false /> </dontSearch>
  4065.         <sharedText> <false /> </sharedText>
  4066.         <fixedLineHeight> <true /> </fixedLineHeight>
  4067.         <autoTab> <false /> </autoTab>
  4068.         <lockText> <true /> </lockText>
  4069.         <rect>
  4070.             <left>327</left>
  4071.             <top>208</top>
  4072.             <right>408</right>
  4073.             <bottom>271</bottom>
  4074.         </rect>
  4075.         <style>opaque</style>
  4076.         <autoSelect> <false /> </autoSelect>
  4077.         <showLines> <false /> </showLines>
  4078.         <wideMargins> <false /> </wideMargins>
  4079.         <multipleLines> <false /> </multipleLines>
  4080.         <reservedFamily> 0 </reservedFamily>
  4081.         <titleWidth>0</titleWidth>
  4082.         <icon>0</icon>
  4083.         <textAlign>left</textAlign>
  4084.         <font>Geneva</font>
  4085.         <textSize>12</textSize>
  4086.         <textStyle>plain</textStyle>
  4087.         <textHeight>16</textHeight>
  4088.         <name>HidePic</name>
  4089.         <script></script>
  4090.     </part>
  4091.     <part>
  4092.         <id>2</id>
  4093.         <type>button</type>
  4094.         <visible> <true /> </visible>
  4095.         <reserved5> 0 </reserved5>
  4096.         <reserved4> 0 </reserved4>
  4097.         <reserved3> 0 </reserved3>
  4098.         <reserved2> 0 </reserved2>
  4099.         <reserved1> 0 </reserved1>
  4100.         <enabled> <true /> </enabled>
  4101.         <rect>
  4102.             <left>279</left>
  4103.             <top>75</top>
  4104.             <right>379</right>
  4105.             <bottom>97</bottom>
  4106.         </rect>
  4107.         <style>roundrect</style>
  4108.         <showName> <true /> </showName>
  4109.         <highlight> <false /> </highlight>
  4110.         <autoHighlight> <true /> </autoHighlight>
  4111.         <sharedHighlight> <true /> </sharedHighlight>
  4112.         <family>0</family>
  4113.         <titleWidth>0</titleWidth>
  4114.         <icon>0</icon>
  4115.         <textAlign>center</textAlign>
  4116.         <font>Chicago</font>
  4117.         <textSize>12</textSize>
  4118.         <textStyle>plain</textStyle>
  4119.         <name>Show Picture</name>
  4120.         <script>-- Pop-up a picture by hiding an opaque field which is in front of it.-- ...by Genevi√®ve Crabeon mouseUplock screenhide card field "HidePic"unlock screen with dissolveend mouseUp</script>
  4121.     </part>
  4122.     <part>
  4123.         <id>3</id>
  4124.         <type>button</type>
  4125.         <visible> <true /> </visible>
  4126.         <reserved5> 0 </reserved5>
  4127.         <reserved4> 0 </reserved4>
  4128.         <reserved3> 0 </reserved3>
  4129.         <reserved2> 0 </reserved2>
  4130.         <reserved1> 0 </reserved1>
  4131.         <enabled> <true /> </enabled>
  4132.         <rect>
  4133.             <left>320</left>
  4134.             <top>104</top>
  4135.             <right>420</right>
  4136.             <bottom>126</bottom>
  4137.         </rect>
  4138.         <style>roundrect</style>
  4139.         <showName> <true /> </showName>
  4140.         <highlight> <false /> </highlight>
  4141.         <autoHighlight> <true /> </autoHighlight>
  4142.         <sharedHighlight> <true /> </sharedHighlight>
  4143.         <family>0</family>
  4144.         <titleWidth>0</titleWidth>
  4145.         <icon>0</icon>
  4146.         <textAlign>center</textAlign>
  4147.         <font>Chicago</font>
  4148.         <textSize>12</textSize>
  4149.         <textStyle>plain</textStyle>
  4150.         <name>Hide Picture</name>
  4151.         <script>-- Hide a picture by showing an opaque field in front of it.-- ...by Genevi√®ve Crabeon mouseUplock screenshow card field "HidePic"unlock screen with dissolveend mouseUp</script>
  4152.     </part>
  4153.     <part>
  4154.         <id>4</id>
  4155.         <type>button</type>
  4156.         <visible> <true /> </visible>
  4157.         <reserved5> 0 </reserved5>
  4158.         <reserved4> 0 </reserved4>
  4159.         <reserved3> 0 </reserved3>
  4160.         <reserved2> 0 </reserved2>
  4161.         <reserved1> 0 </reserved1>
  4162.         <enabled> <true /> </enabled>
  4163.         <rect>
  4164.             <left>365</left>
  4165.             <top>133</top>
  4166.             <right>465</right>
  4167.             <bottom>155</bottom>
  4168.         </rect>
  4169.         <style>roundrect</style>
  4170.         <showName> <true /> </showName>
  4171.         <highlight> <false /> </highlight>
  4172.         <autoHighlight> <true /> </autoHighlight>
  4173.         <sharedHighlight> <true /> </sharedHighlight>
  4174.         <family>0</family>
  4175.         <titleWidth>0</titleWidth>
  4176.         <icon>0</icon>
  4177.         <textAlign>center</textAlign>
  4178.         <font>Chicago</font>
  4179.         <textSize>12</textSize>
  4180.         <textStyle>plain</textStyle>
  4181.         <name>Flash Picture</name>
  4182.         <script>-- Flash a picture by showing and hiding an opaque field which is-- in front of the picture.-- ...by Genevi√®ve Crabeon mouseUpset cursor to 4  -- stopwatchrepeat 5 timesshow card field "HidePic"wait 10 tickshide card field "HidePic"wait 5 ticksend repeatend mouseUp</script>
  4183.     </part>
  4184.     <content>
  4185.         <layer>background</layer>
  4186.         <id>1</id>
  4187.         <text>Pop-up Graphics  (1 of 3)</text>
  4188.     </content>
  4189.     <content>
  4190.         <layer>background</layer>
  4191.         <id>13</id>
  4192.         <text><span class="style1">ou can make it appear that a picture pops up, by covering it with an opaque field.  In a script, hiding the field will make it appear that the picture is popping up.  The </span><span class="style3">Show Picture</span><span class="style1"> and </span><span class="style3">Hide Picture</span><span class="style1"> buttons use a dissolve effect, to enhance the pop-up effect.On the right, you can click the buttons to show and hide the picture.To see the field which hides the picture, select the field tool while the picture is hidden.The picture can be flashed by doing show and hide in a repeat loop.Make sure that when you create the field, you set the </span><span class="style3">lockText</span><span class="style1"> option, otherwise the cursor will turn to an I-beam when passing over it.</span></text>
  4193.     </content>
  4194.     <name>Pop-up graphics</name>
  4195.     <script>on closeCardshow card field "HidePic"pass closeCardend closeCard</script>
  4196. </card>
  4197.  
  4198.  
  4199. card_6792.xml
  4200. <?xml version="1.0" encoding="utf-8" ?>
  4201. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4202. <card>
  4203.     <id>6792</id>
  4204.     <filler1>0</filler1>
  4205.     <bitmap>BMAP_7071.pbm</bitmap>
  4206.     <cantDelete> <false /> </cantDelete>
  4207.     <showPict> <true /> </showPict>
  4208.     <dontSearch> <false /> </dontSearch>
  4209.     <owner>2759</owner>
  4210.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  4211.     <part>
  4212.         <id>2</id>
  4213.         <type>button</type>
  4214.         <visible> <true /> </visible>
  4215.         <reserved5> 0 </reserved5>
  4216.         <reserved4> 0 </reserved4>
  4217.         <reserved3> 0 </reserved3>
  4218.         <reserved2> 0 </reserved2>
  4219.         <reserved1> 0 </reserved1>
  4220.         <enabled> <true /> </enabled>
  4221.         <rect>
  4222.             <left>279</left>
  4223.             <top>75</top>
  4224.             <right>379</right>
  4225.             <bottom>97</bottom>
  4226.         </rect>
  4227.         <style>roundrect</style>
  4228.         <showName> <true /> </showName>
  4229.         <highlight> <false /> </highlight>
  4230.         <autoHighlight> <true /> </autoHighlight>
  4231.         <sharedHighlight> <true /> </sharedHighlight>
  4232.         <family>0</family>
  4233.         <titleWidth>0</titleWidth>
  4234.         <icon>0</icon>
  4235.         <textAlign>center</textAlign>
  4236.         <font>Chicago</font>
  4237.         <textSize>12</textSize>
  4238.         <textStyle>plain</textStyle>
  4239.         <name>Show Picture</name>
  4240.         <script>-- Pop-up a picture by hiding an opaque button which is in front of it.-- ...by Genevi√®ve Crabeon mouseUplock screenhide card button "HidePic"unlock screen with dissolveend mouseUp</script>
  4241.     </part>
  4242.     <part>
  4243.         <id>3</id>
  4244.         <type>button</type>
  4245.         <visible> <true /> </visible>
  4246.         <reserved5> 0 </reserved5>
  4247.         <reserved4> 0 </reserved4>
  4248.         <reserved3> 0 </reserved3>
  4249.         <reserved2> 0 </reserved2>
  4250.         <reserved1> 0 </reserved1>
  4251.         <enabled> <true /> </enabled>
  4252.         <rect>
  4253.             <left>320</left>
  4254.             <top>104</top>
  4255.             <right>420</right>
  4256.             <bottom>126</bottom>
  4257.         </rect>
  4258.         <style>roundrect</style>
  4259.         <showName> <true /> </showName>
  4260.         <highlight> <false /> </highlight>
  4261.         <autoHighlight> <true /> </autoHighlight>
  4262.         <sharedHighlight> <true /> </sharedHighlight>
  4263.         <family>0</family>
  4264.         <titleWidth>0</titleWidth>
  4265.         <icon>0</icon>
  4266.         <textAlign>center</textAlign>
  4267.         <font>Chicago</font>
  4268.         <textSize>12</textSize>
  4269.         <textStyle>plain</textStyle>
  4270.         <name>Hide Picture</name>
  4271.         <script>-- Hide a picture by showing an opaque button in front of it.-- ...by Genevi√®ve Crabeon mouseUplock screenshow card button "HidePic"unlock screen with dissolveend mouseUp</script>
  4272.     </part>
  4273.     <part>
  4274.         <id>4</id>
  4275.         <type>button</type>
  4276.         <visible> <true /> </visible>
  4277.         <reserved5> 0 </reserved5>
  4278.         <reserved4> 0 </reserved4>
  4279.         <reserved3> 0 </reserved3>
  4280.         <reserved2> 0 </reserved2>
  4281.         <reserved1> 0 </reserved1>
  4282.         <enabled> <true /> </enabled>
  4283.         <rect>
  4284.             <left>365</left>
  4285.             <top>133</top>
  4286.             <right>465</right>
  4287.             <bottom>155</bottom>
  4288.         </rect>
  4289.         <style>roundrect</style>
  4290.         <showName> <true /> </showName>
  4291.         <highlight> <false /> </highlight>
  4292.         <autoHighlight> <true /> </autoHighlight>
  4293.         <sharedHighlight> <true /> </sharedHighlight>
  4294.         <family>0</family>
  4295.         <titleWidth>0</titleWidth>
  4296.         <icon>0</icon>
  4297.         <textAlign>center</textAlign>
  4298.         <font>Chicago</font>
  4299.         <textSize>12</textSize>
  4300.         <textStyle>plain</textStyle>
  4301.         <name>Flash Picture</name>
  4302.         <script>-- Flash a picture by showing and hiding an opaque button which is-- in front of the picture.-- ...by Genevi√®ve Crabeon mouseUpset cursor to 4  -- stopwatchrepeat 5 timesshow card button "HidePic"wait 10 tickshide card button "HidePic"wait 5 ticksend repeatend mouseUp</script>
  4303.     </part>
  4304.     <part>
  4305.         <id>5</id>
  4306.         <type>button</type>
  4307.         <visible> <true /> </visible>
  4308.         <reserved5> 0 </reserved5>
  4309.         <reserved4> 0 </reserved4>
  4310.         <reserved3> 0 </reserved3>
  4311.         <reserved2> 0 </reserved2>
  4312.         <reserved1> 0 </reserved1>
  4313.         <enabled> <true /> </enabled>
  4314.         <rect>
  4315.             <left>330</left>
  4316.             <top>208</top>
  4317.             <right>404</right>
  4318.             <bottom>270</bottom>
  4319.         </rect>
  4320.         <style>opaque</style>
  4321.         <showName> <false /> </showName>
  4322.         <highlight> <true /> </highlight>
  4323.         <autoHighlight> <false /> </autoHighlight>
  4324.         <sharedHighlight> <true /> </sharedHighlight>
  4325.         <family>0</family>
  4326.         <titleWidth>0</titleWidth>
  4327.         <icon>0</icon>
  4328.         <textAlign>center</textAlign>
  4329.         <font>Chicago</font>
  4330.         <textSize>12</textSize>
  4331.         <textStyle>plain</textStyle>
  4332.         <name>HidePic</name>
  4333.         <script></script>
  4334.     </part>
  4335.     <content>
  4336.         <layer>background</layer>
  4337.         <id>1</id>
  4338.         <text>Pop-up Graphics  (2 of 3)</text>
  4339.     </content>
  4340.     <content>
  4341.         <layer>background</layer>
  4342.         <id>13</id>
  4343.         <text><span class="style1">ou can use a similar technique to show and hide a picture on a black background.Instead of an opaque field, you use an opaque button with its </span><span class="style3">hilite</span><span class="style1"> turned on (this makes it black).To create such a button, first create a new opaque button, in this case the button is called </span><span class="style3">HidePic</span><span class="style1">. Then, type the following in the message box:</span><span class="style22">set the hilite of cd btn "HidePic" to true</span><span class="style1">This will make the button black.Everything else works just like the previous card.</span></text>
  4344.     </content>
  4345.     <name>Pop-up graphics</name>
  4346.     <script>on closeCardshow card button "HidePic"pass closeCardend closeCard</script>
  4347. </card>
  4348.  
  4349.  
  4350. card_11901.xml
  4351. <?xml version="1.0" encoding="utf-8" ?>
  4352. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4353. <card>
  4354.     <id>11901</id>
  4355.     <filler1>0</filler1>
  4356.     <bitmap>BMAP_12757.pbm</bitmap>
  4357.     <cantDelete> <false /> </cantDelete>
  4358.     <showPict> <true /> </showPict>
  4359.     <dontSearch> <false /> </dontSearch>
  4360.     <owner>2759</owner>
  4361.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  4362.     <part>
  4363.         <id>1</id>
  4364.         <type>field</type>
  4365.         <visible> <false /> </visible>
  4366.         <dontWrap> <false /> </dontWrap>
  4367.         <dontSearch> <false /> </dontSearch>
  4368.         <sharedText> <false /> </sharedText>
  4369.         <fixedLineHeight> <true /> </fixedLineHeight>
  4370.         <autoTab> <false /> </autoTab>
  4371.         <lockText> <true /> </lockText>
  4372.         <rect>
  4373.             <left>326</left>
  4374.             <top>134</top>
  4375.             <right>346</right>
  4376.             <bottom>152</bottom>
  4377.         </rect>
  4378.         <style>opaque</style>
  4379.         <autoSelect> <false /> </autoSelect>
  4380.         <showLines> <false /> </showLines>
  4381.         <wideMargins> <false /> </wideMargins>
  4382.         <multipleLines> <false /> </multipleLines>
  4383.         <reservedFamily> 0 </reservedFamily>
  4384.         <titleWidth>0</titleWidth>
  4385.         <icon>0</icon>
  4386.         <textAlign>left</textAlign>
  4387.         <font>Geneva</font>
  4388.         <textSize>12</textSize>
  4389.         <textStyle>plain</textStyle>
  4390.         <textHeight>16</textHeight>
  4391.         <name>box1</name>
  4392.         <script></script>
  4393.     </part>
  4394.     <part>
  4395.         <id>2</id>
  4396.         <type>field</type>
  4397.         <visible> <true /> </visible>
  4398.         <dontWrap> <false /> </dontWrap>
  4399.         <dontSearch> <false /> </dontSearch>
  4400.         <sharedText> <false /> </sharedText>
  4401.         <fixedLineHeight> <true /> </fixedLineHeight>
  4402.         <autoTab> <false /> </autoTab>
  4403.         <lockText> <true /> </lockText>
  4404.         <rect>
  4405.             <left>282</left>
  4406.             <top>195</top>
  4407.             <right>302</right>
  4408.             <bottom>213</bottom>
  4409.         </rect>
  4410.         <style>opaque</style>
  4411.         <autoSelect> <false /> </autoSelect>
  4412.         <showLines> <false /> </showLines>
  4413.         <wideMargins> <false /> </wideMargins>
  4414.         <multipleLines> <false /> </multipleLines>
  4415.         <reservedFamily> 0 </reservedFamily>
  4416.         <titleWidth>0</titleWidth>
  4417.         <icon>0</icon>
  4418.         <textAlign>left</textAlign>
  4419.         <font>Geneva</font>
  4420.         <textSize>12</textSize>
  4421.         <textStyle>plain</textStyle>
  4422.         <textHeight>16</textHeight>
  4423.         <name>box2</name>
  4424.         <script></script>
  4425.     </part>
  4426.     <part>
  4427.         <id>3</id>
  4428.         <type>field</type>
  4429.         <visible> <true /> </visible>
  4430.         <dontWrap> <false /> </dontWrap>
  4431.         <dontSearch> <false /> </dontSearch>
  4432.         <sharedText> <false /> </sharedText>
  4433.         <fixedLineHeight> <true /> </fixedLineHeight>
  4434.         <autoTab> <false /> </autoTab>
  4435.         <lockText> <true /> </lockText>
  4436.         <rect>
  4437.             <left>455</left>
  4438.             <top>191</top>
  4439.             <right>475</right>
  4440.             <bottom>209</bottom>
  4441.         </rect>
  4442.         <style>opaque</style>
  4443.         <autoSelect> <false /> </autoSelect>
  4444.         <showLines> <false /> </showLines>
  4445.         <wideMargins> <false /> </wideMargins>
  4446.         <multipleLines> <false /> </multipleLines>
  4447.         <reservedFamily> 0 </reservedFamily>
  4448.         <titleWidth>0</titleWidth>
  4449.         <icon>0</icon>
  4450.         <textAlign>left</textAlign>
  4451.         <font>Geneva</font>
  4452.         <textSize>12</textSize>
  4453.         <textStyle>plain</textStyle>
  4454.         <textHeight>16</textHeight>
  4455.         <name>box3</name>
  4456.         <script></script>
  4457.     </part>
  4458.     <part>
  4459.         <id>4</id>
  4460.         <type>field</type>
  4461.         <visible> <true /> </visible>
  4462.         <dontWrap> <false /> </dontWrap>
  4463.         <dontSearch> <false /> </dontSearch>
  4464.         <sharedText> <false /> </sharedText>
  4465.         <fixedLineHeight> <true /> </fixedLineHeight>
  4466.         <autoTab> <false /> </autoTab>
  4467.         <lockText> <true /> </lockText>
  4468.         <rect>
  4469.             <left>439</left>
  4470.             <top>297</top>
  4471.             <right>459</right>
  4472.             <bottom>315</bottom>
  4473.         </rect>
  4474.         <style>opaque</style>
  4475.         <autoSelect> <false /> </autoSelect>
  4476.         <showLines> <false /> </showLines>
  4477.         <wideMargins> <false /> </wideMargins>
  4478.         <multipleLines> <false /> </multipleLines>
  4479.         <reservedFamily> 0 </reservedFamily>
  4480.         <titleWidth>0</titleWidth>
  4481.         <icon>0</icon>
  4482.         <textAlign>left</textAlign>
  4483.         <font>Geneva</font>
  4484.         <textSize>12</textSize>
  4485.         <textStyle>plain</textStyle>
  4486.         <textHeight>16</textHeight>
  4487.         <name>box6</name>
  4488.         <script></script>
  4489.     </part>
  4490.     <part>
  4491.         <id>5</id>
  4492.         <type>field</type>
  4493.         <visible> <true /> </visible>
  4494.         <dontWrap> <false /> </dontWrap>
  4495.         <dontSearch> <false /> </dontSearch>
  4496.         <sharedText> <false /> </sharedText>
  4497.         <fixedLineHeight> <true /> </fixedLineHeight>
  4498.         <autoTab> <false /> </autoTab>
  4499.         <lockText> <true /> </lockText>
  4500.         <rect>
  4501.             <left>379</left>
  4502.             <top>298</top>
  4503.             <right>399</right>
  4504.             <bottom>316</bottom>
  4505.         </rect>
  4506.         <style>opaque</style>
  4507.         <autoSelect> <false /> </autoSelect>
  4508.         <showLines> <false /> </showLines>
  4509.         <wideMargins> <false /> </wideMargins>
  4510.         <multipleLines> <false /> </multipleLines>
  4511.         <reservedFamily> 0 </reservedFamily>
  4512.         <titleWidth>0</titleWidth>
  4513.         <icon>0</icon>
  4514.         <textAlign>left</textAlign>
  4515.         <font>Geneva</font>
  4516.         <textSize>12</textSize>
  4517.         <textStyle>plain</textStyle>
  4518.         <textHeight>16</textHeight>
  4519.         <name>box5</name>
  4520.         <script></script>
  4521.     </part>
  4522.     <part>
  4523.         <id>6</id>
  4524.         <type>field</type>
  4525.         <visible> <true /> </visible>
  4526.         <dontWrap> <false /> </dontWrap>
  4527.         <dontSearch> <false /> </dontSearch>
  4528.         <sharedText> <false /> </sharedText>
  4529.         <fixedLineHeight> <true /> </fixedLineHeight>
  4530.         <autoTab> <false /> </autoTab>
  4531.         <lockText> <true /> </lockText>
  4532.         <rect>
  4533.             <left>311</left>
  4534.             <top>299</top>
  4535.             <right>331</right>
  4536.             <bottom>317</bottom>
  4537.         </rect>
  4538.         <style>opaque</style>
  4539.         <autoSelect> <false /> </autoSelect>
  4540.         <showLines> <false /> </showLines>
  4541.         <wideMargins> <false /> </wideMargins>
  4542.         <multipleLines> <false /> </multipleLines>
  4543.         <reservedFamily> 0 </reservedFamily>
  4544.         <titleWidth>0</titleWidth>
  4545.         <icon>0</icon>
  4546.         <textAlign>left</textAlign>
  4547.         <font>Geneva</font>
  4548.         <textSize>12</textSize>
  4549.         <textStyle>plain</textStyle>
  4550.         <textHeight>16</textHeight>
  4551.         <name>box4</name>
  4552.         <script></script>
  4553.     </part>
  4554.     <part>
  4555.         <id>7</id>
  4556.         <type>button</type>
  4557.         <visible> <true /> </visible>
  4558.         <reserved5> 0 </reserved5>
  4559.         <reserved4> 0 </reserved4>
  4560.         <reserved3> 0 </reserved3>
  4561.         <reserved2> 0 </reserved2>
  4562.         <reserved1> 0 </reserved1>
  4563.         <enabled> <true /> </enabled>
  4564.         <rect>
  4565.             <left>288</left>
  4566.             <top>63</top>
  4567.             <right>338</right>
  4568.             <bottom>84</bottom>
  4569.         </rect>
  4570.         <style>roundrect</style>
  4571.         <showName> <true /> </showName>
  4572.         <highlight> <false /> </highlight>
  4573.         <autoHighlight> <true /> </autoHighlight>
  4574.         <sharedHighlight> <true /> </sharedHighlight>
  4575.         <family>0</family>
  4576.         <titleWidth>0</titleWidth>
  4577.         <icon>0</icon>
  4578.         <textAlign>center</textAlign>
  4579.         <font>Chicago</font>
  4580.         <textSize>12</textSize>
  4581.         <textStyle>plain</textStyle>
  4582.         <name>Box 1</name>
  4583.         <script>on mouseUpshowArrow "box1"end mouseUp</script>
  4584.     </part>
  4585.     <part>
  4586.         <id>13</id>
  4587.         <type>button</type>
  4588.         <visible> <true /> </visible>
  4589.         <reserved5> 0 </reserved5>
  4590.         <reserved4> 0 </reserved4>
  4591.         <reserved3> 0 </reserved3>
  4592.         <reserved2> 0 </reserved2>
  4593.         <reserved1> 0 </reserved1>
  4594.         <enabled> <true /> </enabled>
  4595.         <rect>
  4596.             <left>353</left>
  4597.             <top>63</top>
  4598.             <right>403</right>
  4599.             <bottom>84</bottom>
  4600.         </rect>
  4601.         <style>roundrect</style>
  4602.         <showName> <true /> </showName>
  4603.         <highlight> <false /> </highlight>
  4604.         <autoHighlight> <true /> </autoHighlight>
  4605.         <sharedHighlight> <true /> </sharedHighlight>
  4606.         <family>0</family>
  4607.         <titleWidth>0</titleWidth>
  4608.         <icon>0</icon>
  4609.         <textAlign>center</textAlign>
  4610.         <font>Chicago</font>
  4611.         <textSize>12</textSize>
  4612.         <textStyle>plain</textStyle>
  4613.         <name>Box 2</name>
  4614.         <script>on mouseUpshowArrow "box2"end mouseUp</script>
  4615.     </part>
  4616.     <part>
  4617.         <id>14</id>
  4618.         <type>button</type>
  4619.         <visible> <true /> </visible>
  4620.         <reserved5> 0 </reserved5>
  4621.         <reserved4> 0 </reserved4>
  4622.         <reserved3> 0 </reserved3>
  4623.         <reserved2> 0 </reserved2>
  4624.         <reserved1> 0 </reserved1>
  4625.         <enabled> <true /> </enabled>
  4626.         <rect>
  4627.             <left>416</left>
  4628.             <top>63</top>
  4629.             <right>466</right>
  4630.             <bottom>84</bottom>
  4631.         </rect>
  4632.         <style>roundrect</style>
  4633.         <showName> <true /> </showName>
  4634.         <highlight> <false /> </highlight>
  4635.         <autoHighlight> <true /> </autoHighlight>
  4636.         <sharedHighlight> <true /> </sharedHighlight>
  4637.         <family>0</family>
  4638.         <titleWidth>0</titleWidth>
  4639.         <icon>0</icon>
  4640.         <textAlign>center</textAlign>
  4641.         <font>Chicago</font>
  4642.         <textSize>12</textSize>
  4643.         <textStyle>plain</textStyle>
  4644.         <name>Box 3</name>
  4645.         <script>on mouseUpshowArrow "box3"end mouseUp</script>
  4646.     </part>
  4647.     <part>
  4648.         <id>15</id>
  4649.         <type>button</type>
  4650.         <visible> <true /> </visible>
  4651.         <reserved5> 0 </reserved5>
  4652.         <reserved4> 0 </reserved4>
  4653.         <reserved3> 0 </reserved3>
  4654.         <reserved2> 0 </reserved2>
  4655.         <reserved1> 0 </reserved1>
  4656.         <enabled> <true /> </enabled>
  4657.         <rect>
  4658.             <left>416</left>
  4659.             <top>87</top>
  4660.             <right>466</right>
  4661.             <bottom>108</bottom>
  4662.         </rect>
  4663.         <style>roundrect</style>
  4664.         <showName> <true /> </showName>
  4665.         <highlight> <false /> </highlight>
  4666.         <autoHighlight> <true /> </autoHighlight>
  4667.         <sharedHighlight> <true /> </sharedHighlight>
  4668.         <family>0</family>
  4669.         <titleWidth>0</titleWidth>
  4670.         <icon>0</icon>
  4671.         <textAlign>center</textAlign>
  4672.         <font>Chicago</font>
  4673.         <textSize>12</textSize>
  4674.         <textStyle>plain</textStyle>
  4675.         <name>Box 6</name>
  4676.         <script>on mouseUpshowArrow "box6"end mouseUp</script>
  4677.     </part>
  4678.     <part>
  4679.         <id>16</id>
  4680.         <type>button</type>
  4681.         <visible> <true /> </visible>
  4682.         <reserved5> 0 </reserved5>
  4683.         <reserved4> 0 </reserved4>
  4684.         <reserved3> 0 </reserved3>
  4685.         <reserved2> 0 </reserved2>
  4686.         <reserved1> 0 </reserved1>
  4687.         <enabled> <true /> </enabled>
  4688.         <rect>
  4689.             <left>354</left>
  4690.             <top>87</top>
  4691.             <right>404</right>
  4692.             <bottom>108</bottom>
  4693.         </rect>
  4694.         <style>roundrect</style>
  4695.         <showName> <true /> </showName>
  4696.         <highlight> <false /> </highlight>
  4697.         <autoHighlight> <true /> </autoHighlight>
  4698.         <sharedHighlight> <true /> </sharedHighlight>
  4699.         <family>0</family>
  4700.         <titleWidth>0</titleWidth>
  4701.         <icon>0</icon>
  4702.         <textAlign>center</textAlign>
  4703.         <font>Chicago</font>
  4704.         <textSize>12</textSize>
  4705.         <textStyle>plain</textStyle>
  4706.         <name>Box 5</name>
  4707.         <script>on mouseUpshowArrow "box5"end mouseUp</script>
  4708.     </part>
  4709.     <part>
  4710.         <id>17</id>
  4711.         <type>button</type>
  4712.         <visible> <true /> </visible>
  4713.         <reserved5> 0 </reserved5>
  4714.         <reserved4> 0 </reserved4>
  4715.         <reserved3> 0 </reserved3>
  4716.         <reserved2> 0 </reserved2>
  4717.         <reserved1> 0 </reserved1>
  4718.         <enabled> <true /> </enabled>
  4719.         <rect>
  4720.             <left>289</left>
  4721.             <top>87</top>
  4722.             <right>339</right>
  4723.             <bottom>108</bottom>
  4724.         </rect>
  4725.         <style>roundrect</style>
  4726.         <showName> <true /> </showName>
  4727.         <highlight> <false /> </highlight>
  4728.         <autoHighlight> <true /> </autoHighlight>
  4729.         <sharedHighlight> <true /> </sharedHighlight>
  4730.         <family>0</family>
  4731.         <titleWidth>0</titleWidth>
  4732.         <icon>0</icon>
  4733.         <textAlign>center</textAlign>
  4734.         <font>Chicago</font>
  4735.         <textSize>12</textSize>
  4736.         <textStyle>plain</textStyle>
  4737.         <name>Box 4</name>
  4738.         <script>on mouseUpshowArrow "box4"end mouseUp</script>
  4739.     </part>
  4740.     <content>
  4741.         <layer>background</layer>
  4742.         <id>1</id>
  4743.         <text>Pop-up Graphics  (3 of 3)</text>
  4744.     </content>
  4745.     <content>
  4746.         <layer>background</layer>
  4747.         <id>13</id>
  4748.         <text>If you are designing a map for your stack, you can use a similar pop-up graphics technique for the arrows which show where you are.Click the buttons to show the various arrows.  All the arrow are already there, but at any time, all but one are hidden by an opaque field.  Select the field tool to see the fields.You can make the arrow flash a few times by doing show and hide in a repeat loop.See the button scripts and the card script to see how it is done.An alternative technique for doing this would be to make the arrows into icon buttons, and then showing and hiding the buttons.  The drawback is that you are limited to the size of an icon.  If you can live with that, it is a good technique.</text>
  4749.     </content>
  4750.     <name></name>
  4751.     <script>on openCard  -- we start with the arrow for box 1 showingglobal curFieldput "box1" into curFieldpass openCardend openCard------------------------------------------------------------------------ This handler displays an arrow corresponding to the button pressed.-- ... by Genevi√®ve Crabeon showArrow fieldNameglobal curField---- hide arrow which is currently showing--show card field curField---- optional flashing loop--repeat three timeshide card field fieldName    -- show new arrowwait 5 ticksshow card field fieldName    -- hide it again, for flashingwait 10 ticksend repeat---- show new arrow--hide card field fieldName    -- show arrowput fieldName into curField  -- remember which arrow is showingend showArrow----------------------------------------------------------------------on closeCard  -- go back to where we started, for next timeglobal curFieldshow card field curFieldhide card field "box1"pass closeCardend closeCard</script>
  4752. </card>
  4753.  
  4754.  
  4755. card_11573.xml
  4756. <?xml version="1.0" encoding="utf-8" ?>
  4757. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4758. <card>
  4759.     <id>11573</id>
  4760.     <filler1>0</filler1>
  4761.     <cantDelete> <false /> </cantDelete>
  4762.     <showPict> <true /> </showPict>
  4763.     <dontSearch> <false /> </dontSearch>
  4764.     <owner>2759</owner>
  4765.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  4766.     <part>
  4767.         <id>1</id>
  4768.         <type>button</type>
  4769.         <visible> <true /> </visible>
  4770.         <reserved5> 0 </reserved5>
  4771.         <reserved4> 0 </reserved4>
  4772.         <reserved3> 0 </reserved3>
  4773.         <reserved2> 0 </reserved2>
  4774.         <reserved1> 0 </reserved1>
  4775.         <enabled> <true /> </enabled>
  4776.         <rect>
  4777.             <left>325</left>
  4778.             <top>89</top>
  4779.             <right>429</right>
  4780.             <bottom>111</bottom>
  4781.         </rect>
  4782.         <style>radiobutton</style>
  4783.         <showName> <true /> </showName>
  4784.         <highlight> <true /> </highlight>
  4785.         <autoHighlight> <true /> </autoHighlight>
  4786.         <sharedHighlight> <true /> </sharedHighlight>
  4787.         <family>1</family>
  4788.         <titleWidth>0</titleWidth>
  4789.         <icon>0</icon>
  4790.         <textAlign>center</textAlign>
  4791.         <font>Chicago</font>
  4792.         <textSize>12</textSize>
  4793.         <textStyle>plain</textStyle>
  4794.         <name>Monday</name>
  4795.         <script></script>
  4796.     </part>
  4797.     <part>
  4798.         <id>2</id>
  4799.         <type>button</type>
  4800.         <visible> <true /> </visible>
  4801.         <reserved5> 0 </reserved5>
  4802.         <reserved4> 0 </reserved4>
  4803.         <reserved3> 0 </reserved3>
  4804.         <reserved2> 0 </reserved2>
  4805.         <reserved1> 0 </reserved1>
  4806.         <enabled> <true /> </enabled>
  4807.         <rect>
  4808.             <left>325</left>
  4809.             <top>111</top>
  4810.             <right>429</right>
  4811.             <bottom>133</bottom>
  4812.         </rect>
  4813.         <style>radiobutton</style>
  4814.         <showName> <true /> </showName>
  4815.         <highlight> <false /> </highlight>
  4816.         <autoHighlight> <true /> </autoHighlight>
  4817.         <sharedHighlight> <true /> </sharedHighlight>
  4818.         <family>1</family>
  4819.         <titleWidth>0</titleWidth>
  4820.         <icon>0</icon>
  4821.         <textAlign>center</textAlign>
  4822.         <font>Chicago</font>
  4823.         <textSize>12</textSize>
  4824.         <textStyle>plain</textStyle>
  4825.         <name>Tuesday</name>
  4826.         <script></script>
  4827.     </part>
  4828.     <part>
  4829.         <id>3</id>
  4830.         <type>button</type>
  4831.         <visible> <true /> </visible>
  4832.         <reserved5> 0 </reserved5>
  4833.         <reserved4> 0 </reserved4>
  4834.         <reserved3> 0 </reserved3>
  4835.         <reserved2> 0 </reserved2>
  4836.         <reserved1> 0 </reserved1>
  4837.         <enabled> <true /> </enabled>
  4838.         <rect>
  4839.             <left>325</left>
  4840.             <top>133</top>
  4841.             <right>429</right>
  4842.             <bottom>155</bottom>
  4843.         </rect>
  4844.         <style>radiobutton</style>
  4845.         <showName> <true /> </showName>
  4846.         <highlight> <false /> </highlight>
  4847.         <autoHighlight> <true /> </autoHighlight>
  4848.         <sharedHighlight> <true /> </sharedHighlight>
  4849.         <family>1</family>
  4850.         <titleWidth>0</titleWidth>
  4851.         <icon>0</icon>
  4852.         <textAlign>center</textAlign>
  4853.         <font>Chicago</font>
  4854.         <textSize>12</textSize>
  4855.         <textStyle>plain</textStyle>
  4856.         <name>Wednesday</name>
  4857.         <script></script>
  4858.     </part>
  4859.     <part>
  4860.         <id>4</id>
  4861.         <type>button</type>
  4862.         <visible> <true /> </visible>
  4863.         <reserved5> 0 </reserved5>
  4864.         <reserved4> 0 </reserved4>
  4865.         <reserved3> 0 </reserved3>
  4866.         <reserved2> 0 </reserved2>
  4867.         <reserved1> 0 </reserved1>
  4868.         <enabled> <true /> </enabled>
  4869.         <rect>
  4870.             <left>325</left>
  4871.             <top>155</top>
  4872.             <right>429</right>
  4873.             <bottom>177</bottom>
  4874.         </rect>
  4875.         <style>radiobutton</style>
  4876.         <showName> <true /> </showName>
  4877.         <highlight> <false /> </highlight>
  4878.         <autoHighlight> <true /> </autoHighlight>
  4879.         <sharedHighlight> <true /> </sharedHighlight>
  4880.         <family>1</family>
  4881.         <titleWidth>0</titleWidth>
  4882.         <icon>0</icon>
  4883.         <textAlign>center</textAlign>
  4884.         <font>Chicago</font>
  4885.         <textSize>12</textSize>
  4886.         <textStyle>plain</textStyle>
  4887.         <name>Thursday</name>
  4888.         <script></script>
  4889.     </part>
  4890.     <part>
  4891.         <id>5</id>
  4892.         <type>button</type>
  4893.         <visible> <true /> </visible>
  4894.         <reserved5> 0 </reserved5>
  4895.         <reserved4> 0 </reserved4>
  4896.         <reserved3> 0 </reserved3>
  4897.         <reserved2> 0 </reserved2>
  4898.         <reserved1> 0 </reserved1>
  4899.         <enabled> <true /> </enabled>
  4900.         <rect>
  4901.             <left>325</left>
  4902.             <top>177</top>
  4903.             <right>429</right>
  4904.             <bottom>199</bottom>
  4905.         </rect>
  4906.         <style>radiobutton</style>
  4907.         <showName> <true /> </showName>
  4908.         <highlight> <false /> </highlight>
  4909.         <autoHighlight> <true /> </autoHighlight>
  4910.         <sharedHighlight> <true /> </sharedHighlight>
  4911.         <family>1</family>
  4912.         <titleWidth>0</titleWidth>
  4913.         <icon>0</icon>
  4914.         <textAlign>center</textAlign>
  4915.         <font>Chicago</font>
  4916.         <textSize>12</textSize>
  4917.         <textStyle>plain</textStyle>
  4918.         <name>Friday</name>
  4919.         <script></script>
  4920.     </part>
  4921.     <part>
  4922.         <id>6</id>
  4923.         <type>button</type>
  4924.         <visible> <true /> </visible>
  4925.         <reserved5> 0 </reserved5>
  4926.         <reserved4> 0 </reserved4>
  4927.         <reserved3> 0 </reserved3>
  4928.         <reserved2> 0 </reserved2>
  4929.         <reserved1> 0 </reserved1>
  4930.         <enabled> <true /> </enabled>
  4931.         <rect>
  4932.             <left>305</left>
  4933.             <top>257</top>
  4934.             <right>453</right>
  4935.             <bottom>279</bottom>
  4936.         </rect>
  4937.         <style>roundrect</style>
  4938.         <showName> <true /> </showName>
  4939.         <highlight> <false /> </highlight>
  4940.         <autoHighlight> <true /> </autoHighlight>
  4941.         <sharedHighlight> <true /> </sharedHighlight>
  4942.         <family>0</family>
  4943.         <titleWidth>0</titleWidth>
  4944.         <icon>0</icon>
  4945.         <textAlign>center</textAlign>
  4946.         <font>Chicago</font>
  4947.         <textSize>12</textSize>
  4948.         <textStyle>plain</textStyle>
  4949.         <name>Selected Button?</name>
  4950.         <script>on mouseUpanswer "Selected button:" && ¬¨the short name of (the selectedButton of family 1)end mouseUp</script>
  4951.     </part>
  4952.     <content>
  4953.         <layer>background</layer>
  4954.         <id>1</id>
  4955.         <text>Radio Buttons</text>
  4956.     </content>
  4957.     <content>
  4958.         <layer>background</layer>
  4959.         <id>13</id>
  4960.         <text><span class="style1">his card illustrates an implementation of Macintosh radio buttons, using the new </span><span class="style3">Family</span><span class="style1"> property of buttons introduced in HyperCard 2.2.The five buttons are in Family 1; see the </span><span class="style3">Button Info</span><span class="style1"> for the buttons.No script is required to implement the radio button behaviour.The </span><span class="style3">Selected Button?</span><span class="style1"> button uses the </span><span class="style3">selectedButton</span><span class="style1"> function to display the name of the selected radio button.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  4961.     </content>
  4962.     <name>Radio buttons</name>
  4963.     <script></script>
  4964. </card>
  4965.  
  4966.  
  4967. card_13233.xml
  4968. <?xml version="1.0" encoding="utf-8" ?>
  4969. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4970. <card>
  4971.     <id>13233</id>
  4972.     <filler1>0</filler1>
  4973.     <bitmap>BMAP_13799.pbm</bitmap>
  4974.     <cantDelete> <false /> </cantDelete>
  4975.     <showPict> <true /> </showPict>
  4976.     <dontSearch> <false /> </dontSearch>
  4977.     <owner>2759</owner>
  4978.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  4979.     <part>
  4980.         <id>1</id>
  4981.         <type>field</type>
  4982.         <visible> <true /> </visible>
  4983.         <dontWrap> <false /> </dontWrap>
  4984.         <dontSearch> <false /> </dontSearch>
  4985.         <sharedText> <false /> </sharedText>
  4986.         <fixedLineHeight> <true /> </fixedLineHeight>
  4987.         <autoTab> <false /> </autoTab>
  4988.         <lockText> <true /> </lockText>
  4989.         <rect>
  4990.             <left>316</left>
  4991.             <top>138</top>
  4992.             <right>418</right>
  4993.             <bottom>163</bottom>
  4994.         </rect>
  4995.         <style>transparent</style>
  4996.         <autoSelect> <false /> </autoSelect>
  4997.         <showLines> <false /> </showLines>
  4998.         <wideMargins> <true /> </wideMargins>
  4999.         <multipleLines> <false /> </multipleLines>
  5000.         <reservedFamily> 0 </reservedFamily>
  5001.         <titleWidth>0</titleWidth>
  5002.         <icon>0</icon>
  5003.         <textAlign>center</textAlign>
  5004.         <font>Geneva</font>
  5005.         <textSize>14</textSize>
  5006.         <textStyle>bold</textStyle>
  5007.         <textHeight>18</textHeight>
  5008.         <name>Time</name>
  5009.         <script></script>
  5010.     </part>
  5011.     <content>
  5012.         <layer>background</layer>
  5013.         <id>1</id>
  5014.         <text>Current Time in a Field</text>
  5015.     </content>
  5016.     <content>
  5017.         <layer>card</layer>
  5018.         <id>1</id>
  5019.         <text>3:46 PM</text>
  5020.     </content>
  5021.     <content>
  5022.         <layer>background</layer>
  5023.         <id>13</id>
  5024.         <text><span class="style1">he original Home stack from Apple contained a script which automatically displays the current time in a field on the Home card.You can implement the same function on any card.  Simply create a field called </span><span class="style3">Time</span><span class="style1">, and put an idle script in the card script which will update the time.Look at the card script to see how it is done.</span></text>
  5025.     </content>
  5026.     <name>Current time in a field</name>
  5027.     <script>-- This idle script continuously updates the field "Time" with the-- current time.-- ...from the original Home stack from Appleon idleput the time into card field "Time"pass idleend idle</script>
  5028. </card>
  5029.  
  5030.  
  5031. card_13363.xml
  5032. <?xml version="1.0" encoding="utf-8" ?>
  5033. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5034. <card>
  5035.     <id>13363</id>
  5036.     <filler1>0</filler1>
  5037.     <cantDelete> <false /> </cantDelete>
  5038.     <showPict> <true /> </showPict>
  5039.     <dontSearch> <false /> </dontSearch>
  5040.     <owner>2759</owner>
  5041.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5042.     <part>
  5043.         <id>13</id>
  5044.         <type>button</type>
  5045.         <visible> <true /> </visible>
  5046.         <reserved5> 0 </reserved5>
  5047.         <reserved4> 0 </reserved4>
  5048.         <reserved3> 0 </reserved3>
  5049.         <reserved2> 0 </reserved2>
  5050.         <reserved1> 0 </reserved1>
  5051.         <enabled> <true /> </enabled>
  5052.         <rect>
  5053.             <left>260</left>
  5054.             <top>86</top>
  5055.             <right>450</right>
  5056.             <bottom>108</bottom>
  5057.         </rect>
  5058.         <style>roundrect</style>
  5059.         <showName> <true /> </showName>
  5060.         <highlight> <false /> </highlight>
  5061.         <autoHighlight> <true /> </autoHighlight>
  5062.         <sharedHighlight> <true /> </sharedHighlight>
  5063.         <family>0</family>
  5064.         <titleWidth>0</titleWidth>
  5065.         <icon>0</icon>
  5066.         <textAlign>center</textAlign>
  5067.         <font>Chicago</font>
  5068.         <textSize>12</textSize>
  5069.         <textStyle>plain</textStyle>
  5070.         <name>Answer with OK button‚Ķ</name>
  5071.         <script>-- The "answer" command displays a dialog box, with a message,-- and one, two, or three buttons.---- The first parameter is the prompt string, and the other three-- parameters are the labels of the three buttons. You can specify-- one, two, or three buttons. The last one will be the default.-- This example has no buttons specified, so the "answer" command-- will display an OK button.---- After calling "answer", the variable "it" contains the label of-- the button the user clicked. This script uses the card field "result"-- to display the returned value.--on mouseUpput empty into card field "result"answer "This is a simple dialog with the default OK button."put "Result:" & return & it into card field "result"end mouseUp</script>
  5072.     </part>
  5073.     <part>
  5074.         <id>14</id>
  5075.         <type>button</type>
  5076.         <visible> <true /> </visible>
  5077.         <reserved5> 0 </reserved5>
  5078.         <reserved4> 0 </reserved4>
  5079.         <reserved3> 0 </reserved3>
  5080.         <reserved2> 0 </reserved2>
  5081.         <reserved1> 0 </reserved1>
  5082.         <enabled> <true /> </enabled>
  5083.         <rect>
  5084.             <left>292</left>
  5085.             <top>130</top>
  5086.             <right>482</right>
  5087.             <bottom>152</bottom>
  5088.         </rect>
  5089.         <style>roundrect</style>
  5090.         <showName> <true /> </showName>
  5091.         <highlight> <false /> </highlight>
  5092.         <autoHighlight> <true /> </autoHighlight>
  5093.         <sharedHighlight> <true /> </sharedHighlight>
  5094.         <family>0</family>
  5095.         <titleWidth>0</titleWidth>
  5096.         <icon>0</icon>
  5097.         <textAlign>center</textAlign>
  5098.         <font>Chicago</font>
  5099.         <textSize>12</textSize>
  5100.         <textStyle>plain</textStyle>
  5101.         <name>Answer with 3 buttons‚Ķ</name>
  5102.         <script>-- The "answer" command displays a dialog box, with a message,-- and one, two, or three buttons.---- The first parameter is the prompt string, and the other three-- parameters are the labels of the three buttons. You can specify-- one, two, or three buttons. The last one will be the default.-- This example has three buttons.---- After calling "answer", the variable "it" contains the label of-- the button the user clicked. This script uses the card field "result"-- to display the returned value.--on mouseUpput empty into card field "result"answer "This dialog contains this message, and three buttons." ¬¨with "Click me" or "No, Click Me" or "OK"put "Result:" & return & it into card field "result"end mouseUp</script>
  5103.     </part>
  5104.     <part>
  5105.         <id>16</id>
  5106.         <type>field</type>
  5107.         <visible> <true /> </visible>
  5108.         <dontWrap> <false /> </dontWrap>
  5109.         <dontSearch> <false /> </dontSearch>
  5110.         <sharedText> <false /> </sharedText>
  5111.         <fixedLineHeight> <false /> </fixedLineHeight>
  5112.         <autoTab> <false /> </autoTab>
  5113.         <lockText> <true /> </lockText>
  5114.         <rect>
  5115.             <left>266</left>
  5116.             <top>274</top>
  5117.             <right>490</right>
  5118.             <bottom>311</bottom>
  5119.         </rect>
  5120.         <style>transparent</style>
  5121.         <autoSelect> <false /> </autoSelect>
  5122.         <showLines> <false /> </showLines>
  5123.         <wideMargins> <false /> </wideMargins>
  5124.         <multipleLines> <false /> </multipleLines>
  5125.         <reservedFamily> 0 </reservedFamily>
  5126.         <titleWidth>0</titleWidth>
  5127.         <icon>0</icon>
  5128.         <textAlign>center</textAlign>
  5129.         <font>Geneva</font>
  5130.         <textSize>12</textSize>
  5131.         <textStyle>bold</textStyle>
  5132.         <textHeight>16</textHeight>
  5133.         <name>result</name>
  5134.         <script></script>
  5135.     </part>
  5136.     <part>
  5137.         <id>17</id>
  5138.         <type>button</type>
  5139.         <visible> <true /> </visible>
  5140.         <reserved5> 0 </reserved5>
  5141.         <reserved4> 0 </reserved4>
  5142.         <reserved3> 0 </reserved3>
  5143.         <reserved2> 0 </reserved2>
  5144.         <reserved1> 0 </reserved1>
  5145.         <enabled> <true /> </enabled>
  5146.         <rect>
  5147.             <left>266</left>
  5148.             <top>174</top>
  5149.             <right>401</right>
  5150.             <bottom>196</bottom>
  5151.         </rect>
  5152.         <style>roundrect</style>
  5153.         <showName> <true /> </showName>
  5154.         <highlight> <false /> </highlight>
  5155.         <autoHighlight> <true /> </autoHighlight>
  5156.         <sharedHighlight> <true /> </sharedHighlight>
  5157.         <family>0</family>
  5158.         <titleWidth>0</titleWidth>
  5159.         <icon>0</icon>
  5160.         <textAlign>center</textAlign>
  5161.         <font>Chicago</font>
  5162.         <textSize>12</textSize>
  5163.         <textStyle>plain</textStyle>
  5164.         <name>About Box‚Ķ</name>
  5165.         <script>-- You can use the Answer command to create a simple About dialog-- for your stack.--on mouseUpput empty into card field "result"answer "HyperCard Techniques v5.0" & return ¬¨& "by Genevi√®ve Crabe" & return & return & "This stack is Freeware."put "Result:" & return & it into card field "result"end mouseUp</script>
  5166.     </part>
  5167.     <content>
  5168.         <layer>background</layer>
  5169.         <id>1</id>
  5170.         <text>Dialogs (1 of 4)</text>
  5171.     </content>
  5172.     <content>
  5173.         <layer>background</layer>
  5174.         <id>13</id>
  5175.         <text><span class="style3">nswer</span><span class="style1"> command.The Answer command displays a simple dialog box with a message, and up to three buttons.The message can contain up to 256 characters; the dialog box will size itself according to the length of the message.The </span><span class="style3">About Box‚Ķ</span><span class="style1"> button shows how you can use the Answer command to create a simple About dialog for your stack.See the button scripts for detailed explanations of the Answer command.</span></text>
  5176.     </content>
  5177.     <name>Dialogs</name>
  5178.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  5179. </card>
  5180.  
  5181.  
  5182. card_29033.xml
  5183. <?xml version="1.0" encoding="utf-8" ?>
  5184. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5185. <card>
  5186.     <id>29033</id>
  5187.     <filler1>0</filler1>
  5188.     <cantDelete> <false /> </cantDelete>
  5189.     <showPict> <true /> </showPict>
  5190.     <dontSearch> <false /> </dontSearch>
  5191.     <owner>2759</owner>
  5192.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5193.     <part>
  5194.         <id>13</id>
  5195.         <type>button</type>
  5196.         <visible> <true /> </visible>
  5197.         <reserved5> 0 </reserved5>
  5198.         <reserved4> 0 </reserved4>
  5199.         <reserved3> 0 </reserved3>
  5200.         <reserved2> 0 </reserved2>
  5201.         <reserved1> 0 </reserved1>
  5202.         <enabled> <true /> </enabled>
  5203.         <rect>
  5204.             <left>260</left>
  5205.             <top>104</top>
  5206.             <right>450</right>
  5207.             <bottom>126</bottom>
  5208.         </rect>
  5209.         <style>roundrect</style>
  5210.         <showName> <true /> </showName>
  5211.         <highlight> <false /> </highlight>
  5212.         <autoHighlight> <true /> </autoHighlight>
  5213.         <sharedHighlight> <true /> </sharedHighlight>
  5214.         <family>0</family>
  5215.         <titleWidth>0</titleWidth>
  5216.         <icon>0</icon>
  5217.         <textAlign>center</textAlign>
  5218.         <font>Chicago</font>
  5219.         <textSize>12</textSize>
  5220.         <textStyle>plain</textStyle>
  5221.         <name>Ask with no default‚Ķ</name>
  5222.         <script>-- The "ask" command displays a small dialog box, with a field in which-- the user can enter text, and OK and Cancel buttons.---- The first parameter is the prompt string, and the second parameter,-- which is optional, contains a default string which will be put into-- the text field. This example has no default string.---- After calling "ask", the variable "it" contains the contents of the-- text field. If the user entered nothing, or clicked the Cancel button,-- "it" will be empty.--on mouseUpput empty into card field "result"ask "Please enter your name:"put "Result:" & return & it into card field "result"end mouseUp</script>
  5223.     </part>
  5224.     <part>
  5225.         <id>14</id>
  5226.         <type>button</type>
  5227.         <visible> <true /> </visible>
  5228.         <reserved5> 0 </reserved5>
  5229.         <reserved4> 0 </reserved4>
  5230.         <reserved3> 0 </reserved3>
  5231.         <reserved2> 0 </reserved2>
  5232.         <reserved1> 0 </reserved1>
  5233.         <enabled> <true /> </enabled>
  5234.         <rect>
  5235.             <left>292</left>
  5236.             <top>164</top>
  5237.             <right>482</right>
  5238.             <bottom>186</bottom>
  5239.         </rect>
  5240.         <style>roundrect</style>
  5241.         <showName> <true /> </showName>
  5242.         <highlight> <false /> </highlight>
  5243.         <autoHighlight> <true /> </autoHighlight>
  5244.         <sharedHighlight> <true /> </sharedHighlight>
  5245.         <family>0</family>
  5246.         <titleWidth>0</titleWidth>
  5247.         <icon>0</icon>
  5248.         <textAlign>center</textAlign>
  5249.         <font>Chicago</font>
  5250.         <textSize>12</textSize>
  5251.         <textStyle>plain</textStyle>
  5252.         <name>Ask with default‚Ķ</name>
  5253.         <script>-- The "ask" command displays a small dialog box, with a field in which-- the user can enter text, and OK and Cancel buttons.---- The first parameter is the prompt string, and the second parameter,-- which is optional, contains a default string which will be put into-- the text field---- After calling "ask", the variable "it" contains the contents of the-- text field. If the user entered nothing, or clicked the Cancel button,-- "it" will be empty.--on mouseUpput empty into card field "result"ask "Please enter your name:" with "Jean-Luc Picard"put "Result:" & return & it into card field "result"end mouseUp</script>
  5254.     </part>
  5255.     <part>
  5256.         <id>16</id>
  5257.         <type>field</type>
  5258.         <visible> <true /> </visible>
  5259.         <dontWrap> <false /> </dontWrap>
  5260.         <dontSearch> <false /> </dontSearch>
  5261.         <sharedText> <false /> </sharedText>
  5262.         <fixedLineHeight> <false /> </fixedLineHeight>
  5263.         <autoTab> <false /> </autoTab>
  5264.         <lockText> <true /> </lockText>
  5265.         <rect>
  5266.             <left>264</left>
  5267.             <top>274</top>
  5268.             <right>488</right>
  5269.             <bottom>311</bottom>
  5270.         </rect>
  5271.         <style>transparent</style>
  5272.         <autoSelect> <false /> </autoSelect>
  5273.         <showLines> <false /> </showLines>
  5274.         <wideMargins> <false /> </wideMargins>
  5275.         <multipleLines> <false /> </multipleLines>
  5276.         <reservedFamily> 0 </reservedFamily>
  5277.         <titleWidth>0</titleWidth>
  5278.         <icon>0</icon>
  5279.         <textAlign>center</textAlign>
  5280.         <font>Geneva</font>
  5281.         <textSize>12</textSize>
  5282.         <textStyle>bold</textStyle>
  5283.         <textHeight>16</textHeight>
  5284.         <name>result</name>
  5285.         <script></script>
  5286.     </part>
  5287.     <content>
  5288.         <layer>background</layer>
  5289.         <id>1</id>
  5290.         <text>Dialogs (2 of 4)</text>
  5291.     </content>
  5292.     <content>
  5293.         <layer>background</layer>
  5294.         <id>13</id>
  5295.         <text><span class="style3">sk</span><span class="style1"> command.The Ask command displays a simple dialog box with a prompt, a text field for you to type in, and Cancel and OK buttonsThe message can contain up to 256 characters; the dialog box will size itself according to the length of the message.See the button scripts for detailed explanations of the Ask command.</span></text>
  5296.     </content>
  5297.     <name></name>
  5298.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  5299. </card>
  5300.  
  5301.  
  5302. card_30248.xml
  5303. <?xml version="1.0" encoding="utf-8" ?>
  5304. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5305. <card>
  5306.     <id>30248</id>
  5307.     <filler1>0</filler1>
  5308.     <cantDelete> <false /> </cantDelete>
  5309.     <showPict> <true /> </showPict>
  5310.     <dontSearch> <false /> </dontSearch>
  5311.     <owner>2759</owner>
  5312.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5313.     <part>
  5314.         <id>13</id>
  5315.         <type>button</type>
  5316.         <visible> <true /> </visible>
  5317.         <reserved5> 0 </reserved5>
  5318.         <reserved4> 0 </reserved4>
  5319.         <reserved3> 0 </reserved3>
  5320.         <reserved2> 0 </reserved2>
  5321.         <reserved1> 0 </reserved1>
  5322.         <enabled> <true /> </enabled>
  5323.         <rect>
  5324.             <left>260</left>
  5325.             <top>104</top>
  5326.             <right>450</right>
  5327.             <bottom>126</bottom>
  5328.         </rect>
  5329.         <style>roundrect</style>
  5330.         <showName> <true /> </showName>
  5331.         <highlight> <false /> </highlight>
  5332.         <autoHighlight> <true /> </autoHighlight>
  5333.         <sharedHighlight> <true /> </sharedHighlight>
  5334.         <family>0</family>
  5335.         <titleWidth>0</titleWidth>
  5336.         <icon>0</icon>
  5337.         <textAlign>center</textAlign>
  5338.         <font>Chicago</font>
  5339.         <textSize>12</textSize>
  5340.         <textStyle>plain</textStyle>
  5341.         <name>Answer File with Prompt‚Ķ</name>
  5342.         <script>-- The "answer file" command displays a Standard File dialog, the one-- you usually see when asked to select a file.---- The first parameter is the prompt string. The second parameter is-- a file type; if this parameter is specified, only files of this type-- will be displayed in the dialog. This example has no file type.---- After calling "answer file", the variable "it" contains the full-- path name of the file selected, or empty if the user clicked the-- Cancel button. This script uses the card field "result" to display-- the returned value.--on mouseUpput empty into card field "result"answer file "Choose a file, any file:"put "Result:" & return & return & it into card field "result"end mouseUp</script>
  5343.     </part>
  5344.     <part>
  5345.         <id>14</id>
  5346.         <type>button</type>
  5347.         <visible> <true /> </visible>
  5348.         <reserved5> 0 </reserved5>
  5349.         <reserved4> 0 </reserved4>
  5350.         <reserved3> 0 </reserved3>
  5351.         <reserved2> 0 </reserved2>
  5352.         <reserved1> 0 </reserved1>
  5353.         <enabled> <true /> </enabled>
  5354.         <rect>
  5355.             <left>292</left>
  5356.             <top>164</top>
  5357.             <right>482</right>
  5358.             <bottom>186</bottom>
  5359.         </rect>
  5360.         <style>roundrect</style>
  5361.         <showName> <true /> </showName>
  5362.         <highlight> <false /> </highlight>
  5363.         <autoHighlight> <true /> </autoHighlight>
  5364.         <sharedHighlight> <true /> </sharedHighlight>
  5365.         <family>0</family>
  5366.         <titleWidth>0</titleWidth>
  5367.         <icon>0</icon>
  5368.         <textAlign>center</textAlign>
  5369.         <font>Chicago</font>
  5370.         <textSize>12</textSize>
  5371.         <textStyle>plain</textStyle>
  5372.         <name>Answer File with Type‚Ķ</name>
  5373.         <script>-- The "answer file" command displays a Standard File dialog, the one-- you usually see when asked to select a file.---- The first parameter is the prompt string. The second parameter is-- a file type; if this parameter is specified, only files of this type-- will be displayed in the dialog. Examples of file types are-- "TEXT" for text files, "PICT" for PICT files, "STAK" for HyperCard-- stacks, and "APPL" for applications.---- After calling "answer file", the variable "it" contains the full-- path name of the file selected, or empty if the user clicked the-- Cancel button. This script uses the card field "result" to display-- the returned value.--on mouseUpput empty into card field "result"answer file "Select a HyperCard stack:" of type "STAK"put "Result:" & return & return & it into card field "result"end mouseUp</script>
  5374.     </part>
  5375.     <part>
  5376.         <id>16</id>
  5377.         <type>field</type>
  5378.         <visible> <true /> </visible>
  5379.         <dontWrap> <false /> </dontWrap>
  5380.         <dontSearch> <false /> </dontSearch>
  5381.         <sharedText> <false /> </sharedText>
  5382.         <fixedLineHeight> <false /> </fixedLineHeight>
  5383.         <autoTab> <false /> </autoTab>
  5384.         <lockText> <true /> </lockText>
  5385.         <rect>
  5386.             <left>258</left>
  5387.             <top>250</top>
  5388.             <right>493</right>
  5389.             <bottom>327</bottom>
  5390.         </rect>
  5391.         <style>transparent</style>
  5392.         <autoSelect> <false /> </autoSelect>
  5393.         <showLines> <false /> </showLines>
  5394.         <wideMargins> <false /> </wideMargins>
  5395.         <multipleLines> <false /> </multipleLines>
  5396.         <reservedFamily> 0 </reservedFamily>
  5397.         <titleWidth>0</titleWidth>
  5398.         <icon>0</icon>
  5399.         <textAlign>center</textAlign>
  5400.         <font>Geneva</font>
  5401.         <textSize>9</textSize>
  5402.         <textStyle>bold</textStyle>
  5403.         <textHeight>12</textHeight>
  5404.         <name>result</name>
  5405.         <script></script>
  5406.     </part>
  5407.     <content>
  5408.         <layer>background</layer>
  5409.         <id>1</id>
  5410.         <text>Dialogs (3 of 4)</text>
  5411.     </content>
  5412.     <content>
  5413.         <layer>background</layer>
  5414.         <id>13</id>
  5415.         <text><span class="style3">nswer File</span><span class="style1"> command.The Answer File command displays a dialog where you can choose a file. This is similar to the dialog you get in most applications when you choose </span><span class="style3">Open‚Ķ</span><span class="style1"> from the </span><span class="style3">File</span><span class="style1"> menu.You can specify a prompt which will go at the top of the dialog, and you can also specify a file type to restrict the files you can choose from.The command returns the full path name of the file you selected.See the button scripts for detailed explanations of the Answer File command.</span></text>
  5416.     </content>
  5417.     <name></name>
  5418.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  5419. </card>
  5420.  
  5421.  
  5422. card_30576.xml
  5423. <?xml version="1.0" encoding="utf-8" ?>
  5424. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5425. <card>
  5426.     <id>30576</id>
  5427.     <filler1>0</filler1>
  5428.     <cantDelete> <false /> </cantDelete>
  5429.     <showPict> <true /> </showPict>
  5430.     <dontSearch> <false /> </dontSearch>
  5431.     <owner>2759</owner>
  5432.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5433.     <part>
  5434.         <id>13</id>
  5435.         <type>button</type>
  5436.         <visible> <true /> </visible>
  5437.         <reserved5> 0 </reserved5>
  5438.         <reserved4> 0 </reserved4>
  5439.         <reserved3> 0 </reserved3>
  5440.         <reserved2> 0 </reserved2>
  5441.         <reserved1> 0 </reserved1>
  5442.         <enabled> <true /> </enabled>
  5443.         <rect>
  5444.             <left>260</left>
  5445.             <top>104</top>
  5446.             <right>450</right>
  5447.             <bottom>126</bottom>
  5448.         </rect>
  5449.         <style>roundrect</style>
  5450.         <showName> <true /> </showName>
  5451.         <highlight> <false /> </highlight>
  5452.         <autoHighlight> <true /> </autoHighlight>
  5453.         <sharedHighlight> <true /> </sharedHighlight>
  5454.         <family>0</family>
  5455.         <titleWidth>0</titleWidth>
  5456.         <icon>0</icon>
  5457.         <textAlign>center</textAlign>
  5458.         <font>Chicago</font>
  5459.         <textSize>12</textSize>
  5460.         <textStyle>plain</textStyle>
  5461.         <name>Ask File with no default‚Ķ</name>
  5462.         <script>-- The "ask file" command displays a Standard File dialog, the one-- you usually see when asked to name a file to be saved.---- The first parameter is the prompt string, and the second parameter,-- which is optional, contains a default file name which will be put-- into the text field. This example has no default string.---- After calling "ask file", the variable "it" contains the full-- path name of the file specified, or empty if the user clicked the-- Cancel button. This script uses the card field "result" to display-- the returned value.--on mouseUpput empty into card field "result"ask file "Save the file as:"put "Result:" & return & return & it into card field "result"end mouseUp</script>
  5463.     </part>
  5464.     <part>
  5465.         <id>14</id>
  5466.         <type>button</type>
  5467.         <visible> <true /> </visible>
  5468.         <reserved5> 0 </reserved5>
  5469.         <reserved4> 0 </reserved4>
  5470.         <reserved3> 0 </reserved3>
  5471.         <reserved2> 0 </reserved2>
  5472.         <reserved1> 0 </reserved1>
  5473.         <enabled> <true /> </enabled>
  5474.         <rect>
  5475.             <left>292</left>
  5476.             <top>164</top>
  5477.             <right>482</right>
  5478.             <bottom>186</bottom>
  5479.         </rect>
  5480.         <style>roundrect</style>
  5481.         <showName> <true /> </showName>
  5482.         <highlight> <false /> </highlight>
  5483.         <autoHighlight> <true /> </autoHighlight>
  5484.         <sharedHighlight> <true /> </sharedHighlight>
  5485.         <family>0</family>
  5486.         <titleWidth>0</titleWidth>
  5487.         <icon>0</icon>
  5488.         <textAlign>center</textAlign>
  5489.         <font>Chicago</font>
  5490.         <textSize>12</textSize>
  5491.         <textStyle>plain</textStyle>
  5492.         <name>Ask File with default‚Ķ</name>
  5493.         <script>-- The "ask file" command displays a Standard File dialog, the one-- you usually see when asked to name a file to be saved.---- The first parameter is the prompt string, and the second parameter,-- which is optional, contains a default file name which will be put-- into the text field.---- After calling "ask file", the variable "it" contains the full-- path name of the file specified, or empty if the user clicked the-- Cancel button. This script uses the card field "result" to display-- the returned value.--on mouseUpput empty into card field "result"ask file "Save the file as:" with "My File"put "Result:" & return & return & it into card field "result"end mouseUp</script>
  5494.     </part>
  5495.     <part>
  5496.         <id>16</id>
  5497.         <type>field</type>
  5498.         <visible> <true /> </visible>
  5499.         <dontWrap> <false /> </dontWrap>
  5500.         <dontSearch> <false /> </dontSearch>
  5501.         <sharedText> <false /> </sharedText>
  5502.         <fixedLineHeight> <false /> </fixedLineHeight>
  5503.         <autoTab> <false /> </autoTab>
  5504.         <lockText> <true /> </lockText>
  5505.         <rect>
  5506.             <left>258</left>
  5507.             <top>250</top>
  5508.             <right>493</right>
  5509.             <bottom>327</bottom>
  5510.         </rect>
  5511.         <style>transparent</style>
  5512.         <autoSelect> <false /> </autoSelect>
  5513.         <showLines> <false /> </showLines>
  5514.         <wideMargins> <false /> </wideMargins>
  5515.         <multipleLines> <false /> </multipleLines>
  5516.         <reservedFamily> 0 </reservedFamily>
  5517.         <titleWidth>0</titleWidth>
  5518.         <icon>0</icon>
  5519.         <textAlign>center</textAlign>
  5520.         <font>Geneva</font>
  5521.         <textSize>9</textSize>
  5522.         <textStyle>bold</textStyle>
  5523.         <textHeight>12</textHeight>
  5524.         <name>result</name>
  5525.         <script></script>
  5526.     </part>
  5527.     <content>
  5528.         <layer>background</layer>
  5529.         <id>1</id>
  5530.         <text>Dialogs (4 of 4)</text>
  5531.     </content>
  5532.     <content>
  5533.         <layer>background</layer>
  5534.         <id>13</id>
  5535.         <text><span class="style3">sk File</span><span class="style1"> command.The Ask File command displays a dialog where you can specify a location and name for a new file. This is similar to the dialog you get in most applications when you choose </span><span class="style3">Save As</span><span class="style1">‚Ķ from the </span><span class="style3">File</span><span class="style1"> menu.You can specify a prompt which will go at the top of the dialog, and you can also specify a default file name.The command returns the full path name of the file you specified.See the button scripts for detailed explanations of the Ask File command.</span></text>
  5536.     </content>
  5537.     <name></name>
  5538.     <script>on closeCardput empty into card field "result"pass closeCardend closeCard</script>
  5539. </card>
  5540.  
  5541.  
  5542. card_20851.xml
  5543. <?xml version="1.0" encoding="utf-8" ?>
  5544. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5545. <card>
  5546.     <id>20851</id>
  5547.     <filler1>0</filler1>
  5548.     <cantDelete> <false /> </cantDelete>
  5549.     <showPict> <true /> </showPict>
  5550.     <dontSearch> <false /> </dontSearch>
  5551.     <owner>2759</owner>
  5552.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5553.     <part>
  5554.         <id>3</id>
  5555.         <type>field</type>
  5556.         <visible> <true /> </visible>
  5557.         <dontWrap> <false /> </dontWrap>
  5558.         <dontSearch> <false /> </dontSearch>
  5559.         <sharedText> <false /> </sharedText>
  5560.         <fixedLineHeight> <true /> </fixedLineHeight>
  5561.         <autoTab> <false /> </autoTab>
  5562.         <lockText> <true /> </lockText>
  5563.         <rect>
  5564.             <left>268</left>
  5565.             <top>99</top>
  5566.             <right>421</right>
  5567.             <bottom>158</bottom>
  5568.         </rect>
  5569.         <style>shadow</style>
  5570.         <autoSelect> <false /> </autoSelect>
  5571.         <showLines> <false /> </showLines>
  5572.         <wideMargins> <true /> </wideMargins>
  5573.         <multipleLines> <false /> </multipleLines>
  5574.         <reservedFamily> 0 </reservedFamily>
  5575.         <titleWidth>0</titleWidth>
  5576.         <icon>0</icon>
  5577.         <textAlign>center</textAlign>
  5578.         <font>Chicago</font>
  5579.         <textSize>12</textSize>
  5580.         <textStyle>plain</textStyle>
  5581.         <textHeight>16</textHeight>
  5582.         <name></name>
  5583.         <script></script>
  5584.     </part>
  5585.     <part>
  5586.         <id>1</id>
  5587.         <type>button</type>
  5588.         <visible> <true /> </visible>
  5589.         <reserved5> 0 </reserved5>
  5590.         <reserved4> 0 </reserved4>
  5591.         <reserved3> 0 </reserved3>
  5592.         <reserved2> 0 </reserved2>
  5593.         <reserved1> 0 </reserved1>
  5594.         <enabled> <true /> </enabled>
  5595.         <rect>
  5596.             <left>270</left>
  5597.             <top>101</top>
  5598.             <right>417</right>
  5599.             <bottom>154</bottom>
  5600.         </rect>
  5601.         <style>transparent</style>
  5602.         <showName> <false /> </showName>
  5603.         <highlight> <false /> </highlight>
  5604.         <autoHighlight> <true /> </autoHighlight>
  5605.         <sharedHighlight> <true /> </sharedHighlight>
  5606.         <family>0</family>
  5607.         <titleWidth>0</titleWidth>
  5608.         <icon>0</icon>
  5609.         <textAlign>center</textAlign>
  5610.         <font>Chicago</font>
  5611.         <textSize>12</textSize>
  5612.         <textStyle>plain</textStyle>
  5613.         <name>Write to file</name>
  5614.         <script>-- This script creates a text file and writes text into it.-- ... by Genevi√®ve Crabeon mouseUp---- prompt for the file name--ask file "Enter a name for the file" with "My Text File"---- the file name is put in the variable "it";-- if you clicked Cancel, "it" will be empty--if it is not empty then---- open the file--put it into fileNameopen file fileName---- for the purpose of this example, prompt for some text to put-- into the file--repeat with i = 1 to 3ask "Enter text for line " & i with "Line " & iwrite it & return to file fileNameend repeat---- close the file--close file fileNameend ifend mouseUp</script>
  5615.     </part>
  5616.     <part>
  5617.         <id>10</id>
  5618.         <type>field</type>
  5619.         <visible> <true /> </visible>
  5620.         <dontWrap> <false /> </dontWrap>
  5621.         <dontSearch> <false /> </dontSearch>
  5622.         <sharedText> <false /> </sharedText>
  5623.         <fixedLineHeight> <true /> </fixedLineHeight>
  5624.         <autoTab> <false /> </autoTab>
  5625.         <lockText> <true /> </lockText>
  5626.         <rect>
  5627.             <left>314</left>
  5628.             <top>203</top>
  5629.             <right>467</right>
  5630.             <bottom>262</bottom>
  5631.         </rect>
  5632.         <style>shadow</style>
  5633.         <autoSelect> <false /> </autoSelect>
  5634.         <showLines> <false /> </showLines>
  5635.         <wideMargins> <true /> </wideMargins>
  5636.         <multipleLines> <false /> </multipleLines>
  5637.         <reservedFamily> 0 </reservedFamily>
  5638.         <titleWidth>0</titleWidth>
  5639.         <icon>0</icon>
  5640.         <textAlign>center</textAlign>
  5641.         <font>Chicago</font>
  5642.         <textSize>12</textSize>
  5643.         <textStyle>plain</textStyle>
  5644.         <textHeight>16</textHeight>
  5645.         <name></name>
  5646.         <script></script>
  5647.     </part>
  5648.     <part>
  5649.         <id>2</id>
  5650.         <type>button</type>
  5651.         <visible> <true /> </visible>
  5652.         <reserved5> 0 </reserved5>
  5653.         <reserved4> 0 </reserved4>
  5654.         <reserved3> 0 </reserved3>
  5655.         <reserved2> 0 </reserved2>
  5656.         <reserved1> 0 </reserved1>
  5657.         <enabled> <true /> </enabled>
  5658.         <rect>
  5659.             <left>316</left>
  5660.             <top>205</top>
  5661.             <right>463</right>
  5662.             <bottom>258</bottom>
  5663.         </rect>
  5664.         <style>transparent</style>
  5665.         <showName> <false /> </showName>
  5666.         <highlight> <false /> </highlight>
  5667.         <autoHighlight> <true /> </autoHighlight>
  5668.         <sharedHighlight> <true /> </sharedHighlight>
  5669.         <family>0</family>
  5670.         <titleWidth>0</titleWidth>
  5671.         <icon>0</icon>
  5672.         <textAlign>center</textAlign>
  5673.         <font>Chicago</font>
  5674.         <textSize>12</textSize>
  5675.         <textStyle>plain</textStyle>
  5676.         <name>Read from file</name>
  5677.         <script>-- This script reads a text file and puts the text into a field.-- ... by Genevi√®ve Crabeon mouseUp---- prompt for fileName--answer file "Find the file you created:" of type "TEXT"---- the file name is put in the variable "it";-- if you clicked Cancel, "it" will be empty--if it is not empty then---- open the file--put it into fileNameopen file fileName--if the result is empty then  -- open successfulshow card field "Text from file"put "Contents of the file:" & return & return into ¬¨card field "Text from file"show card button "OK"---- read the contents of the file into a field--repeatread from file fileName until returnif it is empty then exit repeatput it after card field "Text from file"end repeat---- close the file--close file fileName--else  -- open failedanswer "Error trying to open file."end ifend ifend mouseUp</script>
  5678.     </part>
  5679.     <part>
  5680.         <id>11</id>
  5681.         <type>field</type>
  5682.         <visible> <false /> </visible>
  5683.         <dontWrap> <false /> </dontWrap>
  5684.         <dontSearch> <false /> </dontSearch>
  5685.         <sharedText> <false /> </sharedText>
  5686.         <fixedLineHeight> <true /> </fixedLineHeight>
  5687.         <autoTab> <false /> </autoTab>
  5688.         <lockText> <true /> </lockText>
  5689.         <rect>
  5690.             <left>69</left>
  5691.             <top>87</top>
  5692.             <right>442</right>
  5693.             <bottom>265</bottom>
  5694.         </rect>
  5695.         <style>scrolling</style>
  5696.         <autoSelect> <false /> </autoSelect>
  5697.         <showLines> <false /> </showLines>
  5698.         <wideMargins> <true /> </wideMargins>
  5699.         <multipleLines> <false /> </multipleLines>
  5700.         <reservedFamily> 0 </reservedFamily>
  5701.         <titleWidth>0</titleWidth>
  5702.         <icon>0</icon>
  5703.         <textAlign>left</textAlign>
  5704.         <font>Geneva</font>
  5705.         <textSize>12</textSize>
  5706.         <textStyle>plain</textStyle>
  5707.         <textHeight>16</textHeight>
  5708.         <name>Text from file</name>
  5709.         <script></script>
  5710.     </part>
  5711.     <part>
  5712.         <id>12</id>
  5713.         <type>button</type>
  5714.         <visible> <false /> </visible>
  5715.         <reserved5> 0 </reserved5>
  5716.         <reserved4> 0 </reserved4>
  5717.         <reserved3> 0 </reserved3>
  5718.         <reserved2> 0 </reserved2>
  5719.         <reserved1> 0 </reserved1>
  5720.         <enabled> <true /> </enabled>
  5721.         <rect>
  5722.             <left>384</left>
  5723.             <top>241</top>
  5724.             <right>421</right>
  5725.             <bottom>261</bottom>
  5726.         </rect>
  5727.         <style>standard</style>
  5728.         <showName> <true /> </showName>
  5729.         <highlight> <false /> </highlight>
  5730.         <autoHighlight> <true /> </autoHighlight>
  5731.         <sharedHighlight> <true /> </sharedHighlight>
  5732.         <family>0</family>
  5733.         <titleWidth>0</titleWidth>
  5734.         <icon>0</icon>
  5735.         <textAlign>center</textAlign>
  5736.         <font>Chicago</font>
  5737.         <textSize>12</textSize>
  5738.         <textStyle>plain</textStyle>
  5739.         <name>OK</name>
  5740.         <script>on mouseUphide card button "OK"hide card field "Text from file"put empty into card field "Text from file"end mouseUp</script>
  5741.     </part>
  5742.     <content>
  5743.         <layer>background</layer>
  5744.         <id>1</id>
  5745.         <text>Read/Write Text File</text>
  5746.     </content>
  5747.     <content>
  5748.         <layer>card</layer>
  5749.         <id>3</id>
  5750.         <text>Click here tocreate a file andwrite text into it.</text>
  5751.     </content>
  5752.     <content>
  5753.         <layer>card</layer>
  5754.         <id>10</id>
  5755.         <text>Click here toread the textfrom the file.</text>
  5756.     </content>
  5757.     <content>
  5758.         <layer>background</layer>
  5759.         <id>13</id>
  5760.         <text><span class="style1">ometimes, you want to be able to store text in a text file, or read text from a text file.  These buttons use the </span><span class="style3">Ask File</span><span class="style1"> and </span><span class="style3">Answer File</span><span class="style1"> commands described earlier.The scripts of these two buttons show how to:</span><span class="style3">1. Create a file</span><span class="style1">.  You will be asked for the name to be given to the file. </span><span class="style3">2. Store text into the file.</span><span class="style1">  You will be prompted for three lines of text, and these will be stored in the file.</span><span class="style3">3. Read text from the file.</span><span class="style1">  After you have used the top button to create the file, use the bottom button to read back the text from the file, and display it in a field on the screen.Later, after you quit from HyperCard, you will be able to see the text file, and look at its contents using any word processor.To see how it's done, look at the two button scripts.  This can be adapted to a lot of uses, for example storing contents of fields in a text file for later use in a document.</span><span class="style3">NOTE:</span><span class="style1"> Make sure you have enough room on the disk you are using.</span></text>
  5761.     </content>
  5762.     <name>Read/Write text file</name>
  5763.     <script></script>
  5764. </card>
  5765.  
  5766.  
  5767. card_9858.xml
  5768. <?xml version="1.0" encoding="utf-8" ?>
  5769. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5770. <card>
  5771.     <id>9858</id>
  5772.     <filler1>0</filler1>
  5773.     <bitmap>BMAP_14247.pbm</bitmap>
  5774.     <cantDelete> <false /> </cantDelete>
  5775.     <showPict> <true /> </showPict>
  5776.     <dontSearch> <false /> </dontSearch>
  5777.     <owner>2759</owner>
  5778.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5779.     <part>
  5780.         <id>1</id>
  5781.         <type>button</type>
  5782.         <visible> <true /> </visible>
  5783.         <reserved5> 0 </reserved5>
  5784.         <reserved4> 0 </reserved4>
  5785.         <reserved3> 0 </reserved3>
  5786.         <reserved2> 0 </reserved2>
  5787.         <reserved1> 0 </reserved1>
  5788.         <enabled> <true /> </enabled>
  5789.         <rect>
  5790.             <left>313</left>
  5791.             <top>227</top>
  5792.             <right>413</right>
  5793.             <bottom>249</bottom>
  5794.         </rect>
  5795.         <style>roundrect</style>
  5796.         <showName> <true /> </showName>
  5797.         <highlight> <false /> </highlight>
  5798.         <autoHighlight> <false /> </autoHighlight>
  5799.         <sharedHighlight> <true /> </sharedHighlight>
  5800.         <family>0</family>
  5801.         <titleWidth>0</titleWidth>
  5802.         <icon>0</icon>
  5803.         <textAlign>center</textAlign>
  5804.         <font>Chicago</font>
  5805.         <textSize>12</textSize>
  5806.         <textStyle>plain</textStyle>
  5807.         <name>A Button</name>
  5808.         <script></script>
  5809.     </part>
  5810.     <part>
  5811.         <id>2</id>
  5812.         <type>button</type>
  5813.         <visible> <true /> </visible>
  5814.         <reserved5> 0 </reserved5>
  5815.         <reserved4> 0 </reserved4>
  5816.         <reserved3> 0 </reserved3>
  5817.         <reserved2> 0 </reserved2>
  5818.         <reserved1> 0 </reserved1>
  5819.         <enabled> <true /> </enabled>
  5820.         <rect>
  5821.             <left>403</left>
  5822.             <top>140</top>
  5823.             <right>440</right>
  5824.             <bottom>177</bottom>
  5825.         </rect>
  5826.         <style>transparent</style>
  5827.         <showName> <false /> </showName>
  5828.         <highlight> <false /> </highlight>
  5829.         <autoHighlight> <false /> </autoHighlight>
  5830.         <sharedHighlight> <true /> </sharedHighlight>
  5831.         <family>0</family>
  5832.         <titleWidth>0</titleWidth>
  5833.         <icon>0</icon>
  5834.         <textAlign>center</textAlign>
  5835.         <font>Chicago</font>
  5836.         <textSize>12</textSize>
  5837.         <textStyle>plain</textStyle>
  5838.         <name>Button2</name>
  5839.         <script></script>
  5840.     </part>
  5841.     <part>
  5842.         <id>3</id>
  5843.         <type>button</type>
  5844.         <visible> <true /> </visible>
  5845.         <reserved5> 0 </reserved5>
  5846.         <reserved4> 0 </reserved4>
  5847.         <reserved3> 0 </reserved3>
  5848.         <reserved2> 0 </reserved2>
  5849.         <reserved1> 0 </reserved1>
  5850.         <enabled> <true /> </enabled>
  5851.         <rect>
  5852.             <left>292</left>
  5853.             <top>89</top>
  5854.             <right>356</right>
  5855.             <bottom>140</bottom>
  5856.         </rect>
  5857.         <style>shadow</style>
  5858.         <showName> <false /> </showName>
  5859.         <highlight> <false /> </highlight>
  5860.         <autoHighlight> <false /> </autoHighlight>
  5861.         <sharedHighlight> <true /> </sharedHighlight>
  5862.         <family>0</family>
  5863.         <titleWidth>0</titleWidth>
  5864.         <icon>1000</icon>
  5865.         <textAlign>center</textAlign>
  5866.         <font>Chicago</font>
  5867.         <textSize>12</textSize>
  5868.         <textStyle>plain</textStyle>
  5869.         <name>Button1</name>
  5870.         <script></script>
  5871.     </part>
  5872.     <content>
  5873.         <layer>background</layer>
  5874.         <id>1</id>
  5875.         <text>Highlighting Buttons</text>
  5876.     </content>
  5877.     <content>
  5878.         <layer>background</layer>
  5879.         <id>13</id>
  5880.         <text>There is a script in this card which  will cause all the card buttons on the card to be highlighted when the mouse pointer is on top of them.Try to move the mouse on top of any button (you don't need to click), and the button will be highlighted.Check the card script.</text>
  5881.     </content>
  5882.     <name>Highlighting buttons</name>
  5883.     <script>-- These scripts will cause all card buttons to be-- highlighted when the mouse pointer is on top of them.on mouseEnter  -- check if the objected entered is a card buttonif "card button" is in the targetthen set the hilite of the target to trueend mouseEnteron mouseLeaveif "card button" is in the targetthen set the hilite of the target to falseend mouseLeave</script>
  5884. </card>
  5885.  
  5886.  
  5887. card_14000.xml
  5888. <?xml version="1.0" encoding="utf-8" ?>
  5889. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5890. <card>
  5891.     <id>14000</id>
  5892.     <filler1>0</filler1>
  5893.     <bitmap>BMAP_22482.pbm</bitmap>
  5894.     <cantDelete> <false /> </cantDelete>
  5895.     <showPict> <true /> </showPict>
  5896.     <dontSearch> <false /> </dontSearch>
  5897.     <owner>2759</owner>
  5898.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  5899.     <part>
  5900.         <id>1</id>
  5901.         <type>button</type>
  5902.         <visible> <true /> </visible>
  5903.         <reserved5> 0 </reserved5>
  5904.         <reserved4> 0 </reserved4>
  5905.         <reserved3> 0 </reserved3>
  5906.         <reserved2> 0 </reserved2>
  5907.         <reserved1> 0 </reserved1>
  5908.         <enabled> <true /> </enabled>
  5909.         <rect>
  5910.             <left>282</left>
  5911.             <top>73</top>
  5912.             <right>450</right>
  5913.             <bottom>114</bottom>
  5914.         </rect>
  5915.         <style>oval</style>
  5916.         <showName> <true /> </showName>
  5917.         <highlight> <false /> </highlight>
  5918.         <autoHighlight> <true /> </autoHighlight>
  5919.         <sharedHighlight> <true /> </sharedHighlight>
  5920.         <family>0</family>
  5921.         <titleWidth>0</titleWidth>
  5922.         <icon>0</icon>
  5923.         <textAlign>center</textAlign>
  5924.         <font>Palatino</font>
  5925.         <textSize>18</textSize>
  5926.         <textStyle>bold</textStyle>
  5927.         <name></name>
  5928.         <script></script>
  5929.     </part>
  5930.     <part>
  5931.         <id>2</id>
  5932.         <type>button</type>
  5933.         <visible> <true /> </visible>
  5934.         <reserved5> 0 </reserved5>
  5935.         <reserved4> 0 </reserved4>
  5936.         <reserved3> 0 </reserved3>
  5937.         <reserved2> 0 </reserved2>
  5938.         <reserved1> 0 </reserved1>
  5939.         <enabled> <true /> </enabled>
  5940.         <rect>
  5941.             <left>387</left>
  5942.             <top>178</top>
  5943.             <right>475</right>
  5944.             <bottom>266</bottom>
  5945.         </rect>
  5946.         <style>oval</style>
  5947.         <showName> <true /> </showName>
  5948.         <highlight> <false /> </highlight>
  5949.         <autoHighlight> <true /> </autoHighlight>
  5950.         <sharedHighlight> <true /> </sharedHighlight>
  5951.         <family>0</family>
  5952.         <titleWidth>0</titleWidth>
  5953.         <icon>0</icon>
  5954.         <textAlign>center</textAlign>
  5955.         <font>Palatino</font>
  5956.         <textSize>18</textSize>
  5957.         <textStyle>bold</textStyle>
  5958.         <name></name>
  5959.         <script></script>
  5960.     </part>
  5961.     <part>
  5962.         <id>3</id>
  5963.         <type>button</type>
  5964.         <visible> <true /> </visible>
  5965.         <reserved5> 0 </reserved5>
  5966.         <reserved4> 0 </reserved4>
  5967.         <reserved3> 0 </reserved3>
  5968.         <reserved2> 0 </reserved2>
  5969.         <reserved1> 0 </reserved1>
  5970.         <enabled> <true /> </enabled>
  5971.         <rect>
  5972.             <left>276</left>
  5973.             <top>141</top>
  5974.             <right>350</right>
  5975.             <bottom>313</bottom>
  5976.         </rect>
  5977.         <style>oval</style>
  5978.         <showName> <true /> </showName>
  5979.         <highlight> <false /> </highlight>
  5980.         <autoHighlight> <true /> </autoHighlight>
  5981.         <sharedHighlight> <true /> </sharedHighlight>
  5982.         <family>0</family>
  5983.         <titleWidth>0</titleWidth>
  5984.         <icon>0</icon>
  5985.         <textAlign>center</textAlign>
  5986.         <font>Palatino</font>
  5987.         <textSize>18</textSize>
  5988.         <textStyle>bold</textStyle>
  5989.         <name></name>
  5990.         <script></script>
  5991.     </part>
  5992.     <content>
  5993.         <layer>background</layer>
  5994.         <id>1</id>
  5995.         <text>Oval Buttons</text>
  5996.     </content>
  5997.     <content>
  5998.         <layer>background</layer>
  5999.         <id>13</id>
  6000.         <text><span class="style1">ere are some examples of the new </span><span class="style3">Oval</span><span class="style1"> buttons available in HyperCard 2.2.Note that the buttons themselves are transparent; the ovals you see on the right were drawn with the oval tool.Click the buttons to see the highlighting.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  6001.     </content>
  6002.     <name>Oval Buttons</name>
  6003.     <script></script>
  6004. </card>
  6005.  
  6006.  
  6007. card_15846.xml
  6008. <?xml version="1.0" encoding="utf-8" ?>
  6009. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6010. <card>
  6011.     <id>15846</id>
  6012.     <filler1>0</filler1>
  6013.     <bitmap>BMAP_16788.pbm</bitmap>
  6014.     <cantDelete> <false /> </cantDelete>
  6015.     <showPict> <true /> </showPict>
  6016.     <dontSearch> <false /> </dontSearch>
  6017.     <owner>2759</owner>
  6018.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6019.     <part>
  6020.         <id>1</id>
  6021.         <type>button</type>
  6022.         <visible> <true /> </visible>
  6023.         <reserved5> 0 </reserved5>
  6024.         <reserved4> 0 </reserved4>
  6025.         <reserved3> 0 </reserved3>
  6026.         <reserved2> 0 </reserved2>
  6027.         <reserved1> 0 </reserved1>
  6028.         <enabled> <true /> </enabled>
  6029.         <rect>
  6030.             <left>350</left>
  6031.             <top>137</top>
  6032.             <right>401</right>
  6033.             <bottom>173</bottom>
  6034.         </rect>
  6035.         <style>transparent</style>
  6036.         <showName> <false /> </showName>
  6037.         <highlight> <false /> </highlight>
  6038.         <autoHighlight> <true /> </autoHighlight>
  6039.         <sharedHighlight> <true /> </sharedHighlight>
  6040.         <family>0</family>
  6041.         <titleWidth>0</titleWidth>
  6042.         <icon>1015</icon>
  6043.         <textAlign>center</textAlign>
  6044.         <font>Chicago</font>
  6045.         <textSize>12</textSize>
  6046.         <textStyle>plain</textStyle>
  6047.         <name>Button1</name>
  6048.         <script>-- Visual effect with dissolve: keeps going until the mouse is clicked-- ...by Genevi√®ve Crabeon mouseUppush card  -- remember where we came fromrepeat until the mouseClickvisual effect dissolve slowlygo to card "NCMC"if the mouseClick then exit repeatwait for 30 ticksvisual effect dissolve slowlygo to card "PD Lib"if the mouseClick then exit repeatwait for 30 ticksend repeatvisual effect dissolvepop card  -- return where we came fromend mouseUp</script>
  6049.     </part>
  6050.     <content>
  6051.         <layer>background</layer>
  6052.         <id>1</id>
  6053.         <text>Visual Effect Examples (1 of 3)</text>
  6054.     </content>
  6055.     <content>
  6056.         <layer>background</layer>
  6057.         <id>13</id>
  6058.         <text><span class="style1">f you use HyperCard for interactive presentations, you can achieve some interesting effects using the standard HyperTalk visual effects, and some simple scripts.When you press the button on the right, you will see a visual effect which involves two cards.  See the button script.Notice that the </span><span class="style3">dissolve</span><span class="style1"> effect is only visible where the two cards differ.  This is true of many of the visual effects, and can be used to create interesting illusions.</span></text>
  6059.     </content>
  6060.     <name>Visual Effect examples</name>
  6061.     <script></script>
  6062. </card>
  6063.  
  6064.  
  6065. card_16896.xml
  6066. <?xml version="1.0" encoding="utf-8" ?>
  6067. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6068. <card>
  6069.     <id>16896</id>
  6070.     <filler1>0</filler1>
  6071.     <bitmap>BMAP_18061.pbm</bitmap>
  6072.     <cantDelete> <false /> </cantDelete>
  6073.     <showPict> <true /> </showPict>
  6074.     <dontSearch> <false /> </dontSearch>
  6075.     <owner>2759</owner>
  6076.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6077.     <part>
  6078.         <id>2</id>
  6079.         <type>button</type>
  6080.         <visible> <true /> </visible>
  6081.         <reserved5> 0 </reserved5>
  6082.         <reserved4> 0 </reserved4>
  6083.         <reserved3> 0 </reserved3>
  6084.         <reserved2> 0 </reserved2>
  6085.         <reserved1> 0 </reserved1>
  6086.         <enabled> <true /> </enabled>
  6087.         <rect>
  6088.             <left>350</left>
  6089.             <top>137</top>
  6090.             <right>401</right>
  6091.             <bottom>173</bottom>
  6092.         </rect>
  6093.         <style>transparent</style>
  6094.         <showName> <false /> </showName>
  6095.         <highlight> <false /> </highlight>
  6096.         <autoHighlight> <true /> </autoHighlight>
  6097.         <sharedHighlight> <true /> </sharedHighlight>
  6098.         <family>0</family>
  6099.         <titleWidth>0</titleWidth>
  6100.         <icon>1015</icon>
  6101.         <textAlign>center</textAlign>
  6102.         <font>Chicago</font>
  6103.         <textSize>12</textSize>
  6104.         <textStyle>plain</textStyle>
  6105.         <name>Button1</name>
  6106.         <script>-- Visual effect using wipe to show growing bar chart.-- ...by Genevi√®ve Crabeon mouseUpset the cursor to watchpush card  -- remember where we came fromvisual effect iris opengo to card "Chart0"repeat 4 timeswait for 20 ticksvisual effect wipe right slowlygo to next cardend repeatwait for 40 ticksvisual effect iris closepop card  -- return where we came fromend mouseUp</script>
  6107.     </part>
  6108.     <content>
  6109.         <layer>background</layer>
  6110.         <id>1</id>
  6111.         <text>Visual Effect Examples (2 of 3)</text>
  6112.     </content>
  6113.     <content>
  6114.         <layer>background</layer>
  6115.         <id>13</id>
  6116.         <text><span class="style1">his effect uses the </span><span class="style3">wipe right</span><span class="style1"> visual effect with five cards to show a growing bar chart.See the button script for details.</span></text>
  6117.     </content>
  6118.     <name></name>
  6119.     <script></script>
  6120. </card>
  6121.  
  6122.  
  6123. card_4622.xml
  6124. <?xml version="1.0" encoding="utf-8" ?>
  6125. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6126. <card>
  6127.     <id>4622</id>
  6128.     <filler1>0</filler1>
  6129.     <bitmap>BMAP_6055.pbm</bitmap>
  6130.     <cantDelete> <false /> </cantDelete>
  6131.     <showPict> <true /> </showPict>
  6132.     <dontSearch> <false /> </dontSearch>
  6133.     <owner>2759</owner>
  6134.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6135.     <part>
  6136.         <id>2</id>
  6137.         <type>button</type>
  6138.         <visible> <true /> </visible>
  6139.         <reserved5> 0 </reserved5>
  6140.         <reserved4> 0 </reserved4>
  6141.         <reserved3> 0 </reserved3>
  6142.         <reserved2> 0 </reserved2>
  6143.         <reserved1> 0 </reserved1>
  6144.         <enabled> <true /> </enabled>
  6145.         <rect>
  6146.             <left>350</left>
  6147.             <top>137</top>
  6148.             <right>401</right>
  6149.             <bottom>173</bottom>
  6150.         </rect>
  6151.         <style>transparent</style>
  6152.         <showName> <false /> </showName>
  6153.         <highlight> <false /> </highlight>
  6154.         <autoHighlight> <true /> </autoHighlight>
  6155.         <sharedHighlight> <true /> </sharedHighlight>
  6156.         <family>0</family>
  6157.         <titleWidth>0</titleWidth>
  6158.         <icon>1015</icon>
  6159.         <textAlign>center</textAlign>
  6160.         <font>Chicago</font>
  6161.         <textSize>12</textSize>
  6162.         <textStyle>plain</textStyle>
  6163.         <name>Button1</name>
  6164.         <script>-- Visual effect using wipe to show growing bar chart.-- ...by Genevi√®ve Crabeon mouseUpset the cursor to watchpush card  -- remember where we came fromvisual effect iris opengo to card "Chart0"repeat 4 timeswait for 20 ticksvisual effect dissolve slowlygo to next cardend repeatwait for 40 ticksvisual effect iris closepop card  -- return where we came fromend mouseUp</script>
  6165.     </part>
  6166.     <content>
  6167.         <layer>background</layer>
  6168.         <id>1</id>
  6169.         <text>Visual Effect Examples (3 of 3)</text>
  6170.     </content>
  6171.     <content>
  6172.         <layer>background</layer>
  6173.         <id>13</id>
  6174.         <text><span class="style1">his effect uses the </span><span class="style3">dissolve</span><span class="style1"> visual effect with the same bar chart.See the button script for details.</span></text>
  6175.     </content>
  6176.     <name></name>
  6177.     <script></script>
  6178. </card>
  6179.  
  6180.  
  6181. card_32725.xml
  6182. <?xml version="1.0" encoding="utf-8" ?>
  6183. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6184. <card>
  6185.     <id>32725</id>
  6186.     <filler1>0</filler1>
  6187.     <bitmap>BMAP_2134.pbm</bitmap>
  6188.     <cantDelete> <false /> </cantDelete>
  6189.     <showPict> <true /> </showPict>
  6190.     <dontSearch> <false /> </dontSearch>
  6191.     <owner>2759</owner>
  6192.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6193.     <part>
  6194.         <id>1</id>
  6195.         <type>button</type>
  6196.         <visible> <true /> </visible>
  6197.         <reserved5> 0 </reserved5>
  6198.         <reserved4> 0 </reserved4>
  6199.         <reserved3> 0 </reserved3>
  6200.         <reserved2> 0 </reserved2>
  6201.         <reserved1> 0 </reserved1>
  6202.         <enabled> <true /> </enabled>
  6203.         <rect>
  6204.             <left>269</left>
  6205.             <top>139</top>
  6206.             <right>486</right>
  6207.             <bottom>156</bottom>
  6208.         </rect>
  6209.         <style>popup</style>
  6210.         <showName> <true /> </showName>
  6211.         <highlight> <false /> </highlight>
  6212.         <autoHighlight> <true /> </autoHighlight>
  6213.         <sharedHighlight> <true /> </sharedHighlight>
  6214.         <family>0</family>
  6215.         <titleWidth>52</titleWidth>
  6216.         <selectedLines>
  6217.             <integer>1</integer>
  6218.         </selectedLines>
  6219.         <textAlign>center</textAlign>
  6220.         <font>Geneva</font>
  6221.         <textSize>10</textSize>
  6222.         <textStyle>bold</textStyle>
  6223.         <name>Effect:</name>
  6224.         <script></script>
  6225.     </part>
  6226.     <part>
  6227.         <id>7</id>
  6228.         <type>button</type>
  6229.         <visible> <true /> </visible>
  6230.         <reserved5> 0 </reserved5>
  6231.         <reserved4> 0 </reserved4>
  6232.         <reserved3> 0 </reserved3>
  6233.         <reserved2> 0 </reserved2>
  6234.         <reserved1> 0 </reserved1>
  6235.         <enabled> <true /> </enabled>
  6236.         <rect>
  6237.             <left>269</left>
  6238.             <top>169</top>
  6239.             <right>485</right>
  6240.             <bottom>186</bottom>
  6241.         </rect>
  6242.         <style>popup</style>
  6243.         <showName> <true /> </showName>
  6244.         <highlight> <false /> </highlight>
  6245.         <autoHighlight> <true /> </autoHighlight>
  6246.         <sharedHighlight> <true /> </sharedHighlight>
  6247.         <family>0</family>
  6248.         <titleWidth>52</titleWidth>
  6249.         <selectedLines>
  6250.             <integer>2</integer>
  6251.         </selectedLines>
  6252.         <textAlign>center</textAlign>
  6253.         <font>Geneva</font>
  6254.         <textSize>10</textSize>
  6255.         <textStyle>bold</textStyle>
  6256.         <name>Speed:</name>
  6257.         <script></script>
  6258.     </part>
  6259.     <part>
  6260.         <id>8</id>
  6261.         <type>button</type>
  6262.         <visible> <true /> </visible>
  6263.         <reserved5> 0 </reserved5>
  6264.         <reserved4> 0 </reserved4>
  6265.         <reserved3> 0 </reserved3>
  6266.         <reserved2> 0 </reserved2>
  6267.         <reserved1> 0 </reserved1>
  6268.         <enabled> <true /> </enabled>
  6269.         <rect>
  6270.             <left>269</left>
  6271.             <top>199</top>
  6272.             <right>485</right>
  6273.             <bottom>216</bottom>
  6274.         </rect>
  6275.         <style>popup</style>
  6276.         <showName> <true /> </showName>
  6277.         <highlight> <false /> </highlight>
  6278.         <autoHighlight> <true /> </autoHighlight>
  6279.         <sharedHighlight> <true /> </sharedHighlight>
  6280.         <family>0</family>
  6281.         <titleWidth>52</titleWidth>
  6282.         <selectedLines>
  6283.             <integer>1</integer>
  6284.         </selectedLines>
  6285.         <textAlign>center</textAlign>
  6286.         <font>Geneva</font>
  6287.         <textSize>10</textSize>
  6288.         <textStyle>bold</textStyle>
  6289.         <name>Image:</name>
  6290.         <script></script>
  6291.     </part>
  6292.     <part>
  6293.         <id>9</id>
  6294.         <type>button</type>
  6295.         <visible> <true /> </visible>
  6296.         <reserved5> 0 </reserved5>
  6297.         <reserved4> 0 </reserved4>
  6298.         <reserved3> 0 </reserved3>
  6299.         <reserved2> 0 </reserved2>
  6300.         <reserved1> 0 </reserved1>
  6301.         <enabled> <true /> </enabled>
  6302.         <rect>
  6303.             <left>265</left>
  6304.             <top>65</top>
  6305.             <right>378</right>
  6306.             <bottom>98</bottom>
  6307.         </rect>
  6308.         <style>roundrect</style>
  6309.         <showName> <true /> </showName>
  6310.         <highlight> <false /> </highlight>
  6311.         <autoHighlight> <true /> </autoHighlight>
  6312.         <sharedHighlight> <true /> </sharedHighlight>
  6313.         <family>0</family>
  6314.         <titleWidth>0</titleWidth>
  6315.         <icon>0</icon>
  6316.         <textAlign>center</textAlign>
  6317.         <font>Chicago</font>
  6318.         <textSize>12</textSize>
  6319.         <textStyle>plain</textStyle>
  6320.         <name>Show Effect</name>
  6321.         <script>-- Visual Effects Workshop script.-- ... by Genevi√®ve Crabeon mouseUpset the cursor to watch---- get the values from all the popup menus---- we must use button IDs instead of names because there-- is more than one button with the same name---- note regarding the Speed parameter: we used "normal"-- in the pop-up menu, but to get normal speed, you just-- omit the speed parameter in the command\--put the selectedText of cd btn id 1 into effectName1put the selectedText of cd btn id 7 into speedName1if speedName1 = "normal" then put empty into speedName1put the selectedText of cd btn id 8 into imageName1put the selectedText of cd btn id 11 into effectName2put the selectedText of cd btn id 13 into speedName2if speedName2 = "normal" then put empty into speedName2---- check the Second Effect checkbox--put the hilite of cd btn "Second Effect" into doSecondEffectif doSecondEffect and (imageName1 = "card") thenanswer "In order to see the second effect, you must choose" ¬¨&& "something other than Card Image for the Image parameter" ¬¨&& "in the first effect."exit mouseUpend if---- set up the effect(s) and go to the Map card;-- wait for one second and come back--push cardvisual effect effectName1 speedName1 to imageName1if doSecondEffect thenvisual effect effectName2 speedName2end ifgo to card "map"wait for 1 secondpop cardend mouseUp</script>
  6322.     </part>
  6323.     <part>
  6324.         <id>10</id>
  6325.         <type>button</type>
  6326.         <visible> <true /> </visible>
  6327.         <reserved5> 0 </reserved5>
  6328.         <reserved4> 0 </reserved4>
  6329.         <reserved3> 0 </reserved3>
  6330.         <reserved2> 0 </reserved2>
  6331.         <reserved1> 0 </reserved1>
  6332.         <enabled> <true /> </enabled>
  6333.         <rect>
  6334.             <left>326</left>
  6335.             <top>241</top>
  6336.             <right>429</right>
  6337.             <bottom>263</bottom>
  6338.         </rect>
  6339.         <style>checkbox</style>
  6340.         <showName> <true /> </showName>
  6341.         <highlight> <false /> </highlight>
  6342.         <autoHighlight> <true /> </autoHighlight>
  6343.         <sharedHighlight> <true /> </sharedHighlight>
  6344.         <family>0</family>
  6345.         <titleWidth>0</titleWidth>
  6346.         <icon>0</icon>
  6347.         <textAlign>center</textAlign>
  6348.         <font>Geneva</font>
  6349.         <textSize>10</textSize>
  6350.         <textStyle>bold</textStyle>
  6351.         <name>Second Effect</name>
  6352.         <script>on mouseUp---- enable or disable the pop-up menus according to the-- state of the checkbox--set the enabled of cd btn id 11 to the hilite of meset the enabled of cd btn id 13 to the hilite of meend mouseUp</script>
  6353.     </part>
  6354.     <part>
  6355.         <id>11</id>
  6356.         <type>button</type>
  6357.         <visible> <true /> </visible>
  6358.         <reserved5> 0 </reserved5>
  6359.         <reserved4> 0 </reserved4>
  6360.         <reserved3> 0 </reserved3>
  6361.         <reserved2> 0 </reserved2>
  6362.         <reserved1> 0 </reserved1>
  6363.         <enabled> <false /> </enabled>
  6364.         <rect>
  6365.             <left>269</left>
  6366.             <top>271</top>
  6367.             <right>485</right>
  6368.             <bottom>288</bottom>
  6369.         </rect>
  6370.         <style>popup</style>
  6371.         <showName> <true /> </showName>
  6372.         <highlight> <false /> </highlight>
  6373.         <autoHighlight> <true /> </autoHighlight>
  6374.         <sharedHighlight> <true /> </sharedHighlight>
  6375.         <family>0</family>
  6376.         <titleWidth>52</titleWidth>
  6377.         <selectedLines>
  6378.             <integer>4</integer>
  6379.         </selectedLines>
  6380.         <textAlign>center</textAlign>
  6381.         <font>Geneva</font>
  6382.         <textSize>10</textSize>
  6383.         <textStyle>bold</textStyle>
  6384.         <name>Effect:</name>
  6385.         <script></script>
  6386.     </part>
  6387.     <part>
  6388.         <id>13</id>
  6389.         <type>button</type>
  6390.         <visible> <true /> </visible>
  6391.         <reserved5> 0 </reserved5>
  6392.         <reserved4> 0 </reserved4>
  6393.         <reserved3> 0 </reserved3>
  6394.         <reserved2> 0 </reserved2>
  6395.         <reserved1> 0 </reserved1>
  6396.         <enabled> <false /> </enabled>
  6397.         <rect>
  6398.             <left>269</left>
  6399.             <top>301</top>
  6400.             <right>485</right>
  6401.             <bottom>318</bottom>
  6402.         </rect>
  6403.         <style>popup</style>
  6404.         <showName> <true /> </showName>
  6405.         <highlight> <false /> </highlight>
  6406.         <autoHighlight> <true /> </autoHighlight>
  6407.         <sharedHighlight> <true /> </sharedHighlight>
  6408.         <family>0</family>
  6409.         <titleWidth>52</titleWidth>
  6410.         <selectedLines>
  6411.             <integer>3</integer>
  6412.         </selectedLines>
  6413.         <textAlign>center</textAlign>
  6414.         <font>Geneva</font>
  6415.         <textSize>10</textSize>
  6416.         <textStyle>bold</textStyle>
  6417.         <name>Speed:</name>
  6418.         <script></script>
  6419.     </part>
  6420.     <part>
  6421.         <id>18</id>
  6422.         <type>button</type>
  6423.         <visible> <true /> </visible>
  6424.         <reserved5> 0 </reserved5>
  6425.         <reserved4> 0 </reserved4>
  6426.         <reserved3> 0 </reserved3>
  6427.         <reserved2> 0 </reserved2>
  6428.         <reserved1> 0 </reserved1>
  6429.         <enabled> <true /> </enabled>
  6430.         <rect>
  6431.             <left>392</left>
  6432.             <top>101</top>
  6433.             <right>494</right>
  6434.             <bottom>118</bottom>
  6435.         </rect>
  6436.         <style>standard</style>
  6437.         <showName> <true /> </showName>
  6438.         <highlight> <false /> </highlight>
  6439.         <autoHighlight> <true /> </autoHighlight>
  6440.         <sharedHighlight> <true /> </sharedHighlight>
  6441.         <family>0</family>
  6442.         <titleWidth>0</titleWidth>
  6443.         <icon>0</icon>
  6444.         <textAlign>center</textAlign>
  6445.         <font>Geneva</font>
  6446.         <textSize>10</textSize>
  6447.         <textStyle>bold</textStyle>
  6448.         <name>Show Commands</name>
  6449.         <script>-- Visual Effects Workshop script.-- ... by Genevi√®ve Crabeon mouseUpset the cursor to watch---- build command 1--put the selectedText of cd btn id 1 into effectNameput the selectedText of cd btn id 7 into speedNameput the selectedText of cd btn id 8 into imageNameif speedName = "normal" thenif imageName = "card" thenput "visual effect" && effectName into card field "effects"elseput "visual effect" && effectName && "to" ¬¨&& imageName into card field "effects"end ifelseif imageName = "card" thenput "visual effect" && effectName && speedName  ¬¨into card field "effects"elseput "visual effect" && effectName && speedName ¬¨&& "to" && imageName into card field "effects"end ifend if---- build command 2--if the hilite of cd btn "Second Effect" thenput the selectedText of cd btn id 11 into effectNameput the selectedText of cd btn id 13 into speedNameif speedName = "normal" thenput "visual effect" && effectName ¬¨into line 2 of card field "effects"elseput "visual effect" && effectName && speedName ¬¨into line 2 of card field "effects"end ifend if--lock screenshow card field "effects"show card button "Hide Commands"unlock screen with zoom openend mouseUp</script>
  6450.     </part>
  6451.     <part>
  6452.         <id>16</id>
  6453.         <type>field</type>
  6454.         <visible> <false /> </visible>
  6455.         <dontWrap> <false /> </dontWrap>
  6456.         <dontSearch> <false /> </dontSearch>
  6457.         <sharedText> <false /> </sharedText>
  6458.         <fixedLineHeight> <false /> </fixedLineHeight>
  6459.         <autoTab> <false /> </autoTab>
  6460.         <lockText> <false /> </lockText>
  6461.         <rect>
  6462.             <left>28</left>
  6463.             <top>70</top>
  6464.             <right>501</right>
  6465.             <bottom>125</bottom>
  6466.         </rect>
  6467.         <style>shadow</style>
  6468.         <autoSelect> <false /> </autoSelect>
  6469.         <showLines> <false /> </showLines>
  6470.         <wideMargins> <true /> </wideMargins>
  6471.         <multipleLines> <false /> </multipleLines>
  6472.         <reservedFamily> 0 </reservedFamily>
  6473.         <titleWidth>0</titleWidth>
  6474.         <icon>0</icon>
  6475.         <textAlign>left</textAlign>
  6476.         <font>Chicago</font>
  6477.         <textSize>12</textSize>
  6478.         <textStyle>plain</textStyle>
  6479.         <textHeight>16</textHeight>
  6480.         <name>effects</name>
  6481.         <script></script>
  6482.     </part>
  6483.     <part>
  6484.         <id>17</id>
  6485.         <type>button</type>
  6486.         <visible> <false /> </visible>
  6487.         <reserved5> 0 </reserved5>
  6488.         <reserved4> 0 </reserved4>
  6489.         <reserved3> 0 </reserved3>
  6490.         <reserved2> 0 </reserved2>
  6491.         <reserved1> 0 </reserved1>
  6492.         <enabled> <true /> </enabled>
  6493.         <rect>
  6494.             <left>392</left>
  6495.             <top>101</top>
  6496.             <right>494</right>
  6497.             <bottom>118</bottom>
  6498.         </rect>
  6499.         <style>standard</style>
  6500.         <showName> <true /> </showName>
  6501.         <highlight> <false /> </highlight>
  6502.         <autoHighlight> <true /> </autoHighlight>
  6503.         <sharedHighlight> <true /> </sharedHighlight>
  6504.         <family>0</family>
  6505.         <titleWidth>0</titleWidth>
  6506.         <icon>0</icon>
  6507.         <textAlign>center</textAlign>
  6508.         <font>Geneva</font>
  6509.         <textSize>10</textSize>
  6510.         <textStyle>bold</textStyle>
  6511.         <name>Hide Commands</name>
  6512.         <script>on mouseUphide mehide card field "effects"end mouseUp</script>
  6513.     </part>
  6514.     <content>
  6515.         <layer>background</layer>
  6516.         <id>1</id>
  6517.         <text>Visual Effects Workshop</text>
  6518.     </content>
  6519.     <content>
  6520.         <layer>card</layer>
  6521.         <id>1</id>
  6522.         <text>Barn Door OpenBarn Door CloseCheckerboardDissolveIris OpenIris ClosePush LeftPush RightPush UpPush DownScroll LeftScroll RightScroll UpScroll DownShrink to TopShrink to CenterShrink to BottomStretch from TopStretch from CenterStretch from BottomVenetian BlindsWipe LeftWipe RightWipe UpWipe DownZoom InZoom Out</text>
  6523.     </content>
  6524.     <content>
  6525.         <layer>card</layer>
  6526.         <id>7</id>
  6527.         <text>Very SlowlySlowlyNormalFastVery Fast</text>
  6528.     </content>
  6529.     <content>
  6530.         <layer>card</layer>
  6531.         <id>8</id>
  6532.         <text>CardInverseBlackGrayWhite</text>
  6533.     </content>
  6534.     <content>
  6535.         <layer>background</layer>
  6536.         <id>13</id>
  6537.         <text><span class="style1">he buttons on this card will let you try all the different visual effects available in HyperCard.You can choose the effect and other parameters from the pop-up menus, and then click the </span><span class="style3">Show Effect</span><span class="style1"> button to see the special effect.Did you know that you can have more than one special effect? Well, you can. Click the </span><span class="style3">Second Effect</span><span class="style1"> checkbox, and you can define a second effect. Note that in order to see the second effect, you must choose something other than </span><span class="style3">Card Image</span><span class="style1"> for the </span><span class="style3">Image</span><span class="style1"> parameter. In fact, you can string even more effects together if you like.The </span><span class="style3">Show Effect</span><span class="style1"> button script brings it all together. In the button script, </span><span class="style3">the selectedText</span><span class="style1"> property returns the currently selected option in the pop-up menu buttons.The </span><span class="style3">Show Commands</span><span class="style1"> button will display a field containing the </span><span class="style3">Visual Effect</span><span class="style1"> commands as defined by the pop-up menus, in a field from which you can copy them into your own scripts.</span><span class="style28">Some effects require HyperCard 2.2.</span></text>
  6538.     </content>
  6539.     <content>
  6540.         <layer>card</layer>
  6541.         <id>11</id>
  6542.         <text>Barn Door OpenBarn Door CloseCheckerboardDissolveIris OpenIris ClosePush LeftPush RightPush UpPush DownScroll LeftScroll RightScroll UpScroll DownShrink to TopShrink to CenterShrink to BottomStretch from TopStretch from CenterStretch from BottomVenetian BlindsWipe LeftWipe RightWipe UpWipe DownZoom InZoom Out</text>
  6543.     </content>
  6544.     <content>
  6545.         <layer>card</layer>
  6546.         <id>13</id>
  6547.         <text>Very SlowlySlowlyNormalFastVery Fast</text>
  6548.     </content>
  6549.     <content>
  6550.         <layer>card</layer>
  6551.         <id>16</id>
  6552.         <text>visual effect Barn Door Open Slowly</text>
  6553.     </content>
  6554.     <name>Visual Effects Workshop</name>
  6555.     <script>on closeCardif the visible of card button "Hide Commands" thenhide card button "Hide Commands"hide card field "effects"end ifpass closeCardend closeCard</script>
  6556. </card>
  6557.  
  6558.  
  6559. card_16304.xml
  6560. <?xml version="1.0" encoding="utf-8" ?>
  6561. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6562. <card>
  6563.     <id>16304</id>
  6564.     <filler1>0</filler1>
  6565.     <bitmap>BMAP_17617.pbm</bitmap>
  6566.     <cantDelete> <false /> </cantDelete>
  6567.     <showPict> <true /> </showPict>
  6568.     <dontSearch> <false /> </dontSearch>
  6569.     <owner>2759</owner>
  6570.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6571.     <part>
  6572.         <id>1</id>
  6573.         <type>field</type>
  6574.         <visible> <true /> </visible>
  6575.         <dontWrap> <false /> </dontWrap>
  6576.         <dontSearch> <false /> </dontSearch>
  6577.         <sharedText> <false /> </sharedText>
  6578.         <fixedLineHeight> <true /> </fixedLineHeight>
  6579.         <autoTab> <false /> </autoTab>
  6580.         <lockText> <false /> </lockText>
  6581.         <rect>
  6582.             <left>280</left>
  6583.             <top>79</top>
  6584.             <right>452</right>
  6585.             <bottom>180</bottom>
  6586.         </rect>
  6587.         <style>transparent</style>
  6588.         <autoSelect> <false /> </autoSelect>
  6589.         <showLines> <true /> </showLines>
  6590.         <wideMargins> <false /> </wideMargins>
  6591.         <multipleLines> <false /> </multipleLines>
  6592.         <reservedFamily> 0 </reservedFamily>
  6593.         <titleWidth>0</titleWidth>
  6594.         <icon>0</icon>
  6595.         <textAlign>left</textAlign>
  6596.         <font>Geneva</font>
  6597.         <textSize>12</textSize>
  6598.         <textStyle>plain</textStyle>
  6599.         <textHeight>16</textHeight>
  6600.         <name></name>
  6601.         <script></script>
  6602.     </part>
  6603.     <part>
  6604.         <id>2</id>
  6605.         <type>field</type>
  6606.         <visible> <true /> </visible>
  6607.         <dontWrap> <false /> </dontWrap>
  6608.         <dontSearch> <false /> </dontSearch>
  6609.         <sharedText> <false /> </sharedText>
  6610.         <fixedLineHeight> <true /> </fixedLineHeight>
  6611.         <autoTab> <false /> </autoTab>
  6612.         <lockText> <true /> </lockText>
  6613.         <rect>
  6614.             <left>317</left>
  6615.             <top>256</top>
  6616.             <right>435</right>
  6617.             <bottom>276</bottom>
  6618.         </rect>
  6619.         <style>transparent</style>
  6620.         <autoSelect> <false /> </autoSelect>
  6621.         <showLines> <false /> </showLines>
  6622.         <wideMargins> <false /> </wideMargins>
  6623.         <multipleLines> <false /> </multipleLines>
  6624.         <reservedFamily> 0 </reservedFamily>
  6625.         <titleWidth>0</titleWidth>
  6626.         <icon>0</icon>
  6627.         <textAlign>center</textAlign>
  6628.         <font>Geneva</font>
  6629.         <textSize>14</textSize>
  6630.         <textStyle>bold</textStyle>
  6631.         <textHeight>18</textHeight>
  6632.         <name>Change Date</name>
  6633.         <script></script>
  6634.     </part>
  6635.     <content>
  6636.         <layer>background</layer>
  6637.         <id>1</id>
  6638.         <text>Date of Last Change</text>
  6639.     </content>
  6640.     <content>
  6641.         <layer>card</layer>
  6642.         <id>1</id>
  6643.         <text>abcde 12345</text>
  6644.     </content>
  6645.     <content>
  6646.         <layer>card</layer>
  6647.         <id>2</id>
  6648.         <text>5/22/94</text>
  6649.     </content>
  6650.     <content>
  6651.         <layer>background</layer>
  6652.         <id>13</id>
  6653.         <text><span class="style1">ometimes, you want to keep track of when a field in a card is changed by the user; you can use this if, for example, you want to print only the cards which have changed since the last time you printed it.This trick involves a card script which puts the current date in a field whenever any field in the card is changed.  It uses the </span><span class="style3">closeField</span><span class="style1"> message which is generated after the contents of a field have changed, when the user clicks outside the field.To try this, add or change some of the text in the field on the right, then click anywhere outside the field.  The date below will change to today's date.In this case, the </span><span class="style3">closeField</span><span class="style1"> handler is in the </span><span class="style3">card script</span><span class="style1">, so the date will be updated if any field on the card is changed. If you want this to apply only to one field, you can put the handler in the </span><span class="style3">field script</span><span class="style1">.</span></text>
  6654.     </content>
  6655.     <name>Date of last change</name>
  6656.     <script>-- This script will put the current date in the field "Change Date"-- whenever any field on this card is changed.on closeFieldput the date into card field "Change Date"end closeField</script>
  6657. </card>
  6658.  
  6659.  
  6660. card_20250.xml
  6661. <?xml version="1.0" encoding="utf-8" ?>
  6662. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6663. <card>
  6664.     <id>20250</id>
  6665.     <filler1>0</filler1>
  6666.     <cantDelete> <false /> </cantDelete>
  6667.     <showPict> <true /> </showPict>
  6668.     <dontSearch> <false /> </dontSearch>
  6669.     <owner>2759</owner>
  6670.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6671.     <part>
  6672.         <id>1</id>
  6673.         <type>field</type>
  6674.         <visible> <true /> </visible>
  6675.         <dontWrap> <false /> </dontWrap>
  6676.         <dontSearch> <false /> </dontSearch>
  6677.         <sharedText> <false /> </sharedText>
  6678.         <fixedLineHeight> <true /> </fixedLineHeight>
  6679.         <autoTab> <false /> </autoTab>
  6680.         <lockText> <true /> </lockText>
  6681.         <rect>
  6682.             <left>287</left>
  6683.             <top>95</top>
  6684.             <right>447</right>
  6685.             <bottom>180</bottom>
  6686.         </rect>
  6687.         <style>scrolling</style>
  6688.         <autoSelect> <false /> </autoSelect>
  6689.         <showLines> <false /> </showLines>
  6690.         <wideMargins> <false /> </wideMargins>
  6691.         <multipleLines> <false /> </multipleLines>
  6692.         <reservedFamily> 0 </reservedFamily>
  6693.         <titleWidth>0</titleWidth>
  6694.         <icon>0</icon>
  6695.         <textAlign>left</textAlign>
  6696.         <font>Geneva</font>
  6697.         <textSize>12</textSize>
  6698.         <textStyle>bold</textStyle>
  6699.         <textHeight>16</textHeight>
  6700.         <name>ScrollField</name>
  6701.         <script></script>
  6702.     </part>
  6703.     <part>
  6704.         <id>2</id>
  6705.         <type>button</type>
  6706.         <visible> <true /> </visible>
  6707.         <reserved5> 0 </reserved5>
  6708.         <reserved4> 0 </reserved4>
  6709.         <reserved3> 0 </reserved3>
  6710.         <reserved2> 0 </reserved2>
  6711.         <reserved1> 0 </reserved1>
  6712.         <enabled> <true /> </enabled>
  6713.         <rect>
  6714.             <left>321</left>
  6715.             <top>247</top>
  6716.             <right>421</right>
  6717.             <bottom>269</bottom>
  6718.         </rect>
  6719.         <style>roundrect</style>
  6720.         <showName> <true /> </showName>
  6721.         <highlight> <false /> </highlight>
  6722.         <autoHighlight> <true /> </autoHighlight>
  6723.         <sharedHighlight> <true /> </sharedHighlight>
  6724.         <family>0</family>
  6725.         <titleWidth>0</titleWidth>
  6726.         <icon>0</icon>
  6727.         <textAlign>center</textAlign>
  6728.         <font>Chicago</font>
  6729.         <textSize>12</textSize>
  6730.         <textStyle>plain</textStyle>
  6731.         <name>Add a line</name>
  6732.         <script>-- This script will add a line to the scrolling field,-- then simulate a click at the bottom of the scroll bar to-- make it scroll if it needs to.-- ... by Genevi√®ve Crabe (technique suggested by Dave Priest)on mouseUpglobal numLines  -- initialized in the card script---- add a line of text to the scrolling field--add 1 to numLinesif numLines = 1 thenput "Line 1" into card field "scrollField"elseput return & "Line " & numLines after card field "scrollField"end if---- figure out where to click (on the scroll bar)...--put the rect of card field "scrollField" into fieldRectput ( item 3 of fieldRect) - 5 into horizCoordput (item 4 of fieldRect) - 17 into vertCoord---- ...and click there--click at horizCoord,vertCoordend mouseUp</script>
  6733.     </part>
  6734.     <content>
  6735.         <layer>background</layer>
  6736.         <id>1</id>
  6737.         <text>Auto-Scrolling Field</text>
  6738.     </content>
  6739.     <content>
  6740.         <layer>background</layer>
  6741.         <id>13</id>
  6742.         <text><span class="style1">ometime, you may be in a situation where a script is adding lines of text to a scrolling field automatically.  After the visible part of the field is full, you can't see the new text until the script is finished and you can scroll the field.The </span><span class="style3">Add a line</span><span class="style1"> button on the right adds a new line to the scrolling field every time you click it.  In addition, it simulates a click of the mouse in the lower part of the scroll bar, which will cause the field to scroll.  So you can see each line as it is being added.Check the button script to see how it's done.This technique will work as long as the amount of text added at each step is less than a "page" full.</span></text>
  6743.     </content>
  6744.     <name>Auto-scrolling field</name>
  6745.     <script>on openCard  -- initialize number of lines in the fieldglobal numLinesput 0 into numLinespass openCardend openCardon closeCard  -- empty the field for next timeput empty into card field "scrollField"set the scroll of card field "scrollField" to 0pass closeCardend closeCard</script>
  6746. </card>
  6747.  
  6748.  
  6749. card_15977.xml
  6750. <?xml version="1.0" encoding="utf-8" ?>
  6751. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6752. <card>
  6753.     <id>15977</id>
  6754.     <filler1>0</filler1>
  6755.     <cantDelete> <false /> </cantDelete>
  6756.     <showPict> <true /> </showPict>
  6757.     <dontSearch> <false /> </dontSearch>
  6758.     <owner>2759</owner>
  6759.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6760.     <part>
  6761.         <id>2</id>
  6762.         <type>button</type>
  6763.         <visible> <true /> </visible>
  6764.         <reserved5> 0 </reserved5>
  6765.         <reserved4> 0 </reserved4>
  6766.         <reserved3> 0 </reserved3>
  6767.         <reserved2> 0 </reserved2>
  6768.         <reserved1> 0 </reserved1>
  6769.         <enabled> <true /> </enabled>
  6770.         <rect>
  6771.             <left>259</left>
  6772.             <top>90</top>
  6773.             <right>413</right>
  6774.             <bottom>112</bottom>
  6775.         </rect>
  6776.         <style>roundrect</style>
  6777.         <showName> <true /> </showName>
  6778.         <highlight> <false /> </highlight>
  6779.         <autoHighlight> <true /> </autoHighlight>
  6780.         <sharedHighlight> <true /> </sharedHighlight>
  6781.         <family>0</family>
  6782.         <titleWidth>0</titleWidth>
  6783.         <icon>0</icon>
  6784.         <textAlign>center</textAlign>
  6785.         <font>Chicago</font>
  6786.         <textSize>12</textSize>
  6787.         <textStyle>plain</textStyle>
  6788.         <name>HyperCard Version</name>
  6789.         <script>on mouseUpanswer "HyperCard version:  " & (the version) with "OK"end mouseUp</script>
  6790.     </part>
  6791.     <part>
  6792.         <id>3</id>
  6793.         <type>button</type>
  6794.         <visible> <true /> </visible>
  6795.         <reserved5> 0 </reserved5>
  6796.         <reserved4> 0 </reserved4>
  6797.         <reserved3> 0 </reserved3>
  6798.         <reserved2> 0 </reserved2>
  6799.         <reserved1> 0 </reserved1>
  6800.         <enabled> <true /> </enabled>
  6801.         <rect>
  6802.             <left>267</left>
  6803.             <top>186</top>
  6804.             <right>367</right>
  6805.             <bottom>208</bottom>
  6806.         </rect>
  6807.         <style>roundrect</style>
  6808.         <showName> <true /> </showName>
  6809.         <highlight> <false /> </highlight>
  6810.         <autoHighlight> <true /> </autoHighlight>
  6811.         <sharedHighlight> <true /> </sharedHighlight>
  6812.         <family>0</family>
  6813.         <titleWidth>0</titleWidth>
  6814.         <icon>0</icon>
  6815.         <textAlign>center</textAlign>
  6816.         <font>Chicago</font>
  6817.         <textSize>12</textSize>
  6818.         <textStyle>plain</textStyle>
  6819.         <name>Disk Space</name>
  6820.         <script>on mouseUpput the diskSpace div 1024 into dSpace-- (divide by 1024 to get kilobytes)answer "Disk space available:  " & dSpace & "k bytes." with "OK"end mouseUp</script>
  6821.     </part>
  6822.     <part>
  6823.         <id>4</id>
  6824.         <type>button</type>
  6825.         <visible> <true /> </visible>
  6826.         <reserved5> 0 </reserved5>
  6827.         <reserved4> 0 </reserved4>
  6828.         <reserved3> 0 </reserved3>
  6829.         <reserved2> 0 </reserved2>
  6830.         <reserved1> 0 </reserved1>
  6831.         <enabled> <true /> </enabled>
  6832.         <rect>
  6833.             <left>366</left>
  6834.             <top>229</top>
  6835.             <right>476</right>
  6836.             <bottom>251</bottom>
  6837.         </rect>
  6838.         <style>roundrect</style>
  6839.         <showName> <true /> </showName>
  6840.         <highlight> <false /> </highlight>
  6841.         <autoHighlight> <true /> </autoHighlight>
  6842.         <sharedHighlight> <true /> </sharedHighlight>
  6843.         <family>0</family>
  6844.         <titleWidth>0</titleWidth>
  6845.         <icon>0</icon>
  6846.         <textAlign>center</textAlign>
  6847.         <font>Chicago</font>
  6848.         <textSize>12</textSize>
  6849.         <textStyle>plain</textStyle>
  6850.         <name>Shift key</name>
  6851.         <script>on mouseUpif the shiftKey is up then answer "The SHIFT key is up." with "OK"else answer "The SHIFT key is down." with "OK"end mouseUp</script>
  6852.     </part>
  6853.     <part>
  6854.         <id>5</id>
  6855.         <type>button</type>
  6856.         <visible> <true /> </visible>
  6857.         <reserved5> 0 </reserved5>
  6858.         <reserved4> 0 </reserved4>
  6859.         <reserved3> 0 </reserved3>
  6860.         <reserved2> 0 </reserved2>
  6861.         <reserved1> 0 </reserved1>
  6862.         <enabled> <true /> </enabled>
  6863.         <rect>
  6864.             <left>323</left>
  6865.             <top>133</top>
  6866.             <right>477</right>
  6867.             <bottom>155</bottom>
  6868.         </rect>
  6869.         <style>roundrect</style>
  6870.         <showName> <true /> </showName>
  6871.         <highlight> <false /> </highlight>
  6872.         <autoHighlight> <true /> </autoHighlight>
  6873.         <sharedHighlight> <true /> </sharedHighlight>
  6874.         <family>0</family>
  6875.         <titleWidth>0</titleWidth>
  6876.         <icon>0</icon>
  6877.         <textAlign>center</textAlign>
  6878.         <font>Chicago</font>
  6879.         <textSize>12</textSize>
  6880.         <textStyle>plain</textStyle>
  6881.         <name>System Version</name>
  6882.         <script>on mouseUpanswer "System version:  " & (the systemVersion) with "OK"end mouseUp</script>
  6883.     </part>
  6884.     <part>
  6885.         <id>6</id>
  6886.         <type>button</type>
  6887.         <visible> <true /> </visible>
  6888.         <reserved5> 0 </reserved5>
  6889.         <reserved4> 0 </reserved4>
  6890.         <reserved3> 0 </reserved3>
  6891.         <reserved2> 0 </reserved2>
  6892.         <reserved1> 0 </reserved1>
  6893.         <enabled> <true /> </enabled>
  6894.         <rect>
  6895.             <left>366</left>
  6896.             <top>255</top>
  6897.             <right>476</right>
  6898.             <bottom>277</bottom>
  6899.         </rect>
  6900.         <style>roundrect</style>
  6901.         <showName> <true /> </showName>
  6902.         <highlight> <false /> </highlight>
  6903.         <autoHighlight> <true /> </autoHighlight>
  6904.         <sharedHighlight> <true /> </sharedHighlight>
  6905.         <family>0</family>
  6906.         <titleWidth>0</titleWidth>
  6907.         <icon>0</icon>
  6908.         <textAlign>center</textAlign>
  6909.         <font>Chicago</font>
  6910.         <textSize>12</textSize>
  6911.         <textStyle>plain</textStyle>
  6912.         <name>Option key</name>
  6913.         <script>on mouseUpif the optionKey is up then answer "The OPTION key is up." with "OK"else answer "The OPTION key is down." with "OK"end mouseUp</script>
  6914.     </part>
  6915.     <part>
  6916.         <id>7</id>
  6917.         <type>button</type>
  6918.         <visible> <true /> </visible>
  6919.         <reserved5> 0 </reserved5>
  6920.         <reserved4> 0 </reserved4>
  6921.         <reserved3> 0 </reserved3>
  6922.         <reserved2> 0 </reserved2>
  6923.         <reserved1> 0 </reserved1>
  6924.         <enabled> <true /> </enabled>
  6925.         <rect>
  6926.             <left>366</left>
  6927.             <top>281</top>
  6928.             <right>476</right>
  6929.             <bottom>303</bottom>
  6930.         </rect>
  6931.         <style>roundrect</style>
  6932.         <showName> <true /> </showName>
  6933.         <highlight> <false /> </highlight>
  6934.         <autoHighlight> <true /> </autoHighlight>
  6935.         <sharedHighlight> <true /> </sharedHighlight>
  6936.         <family>0</family>
  6937.         <titleWidth>0</titleWidth>
  6938.         <icon>0</icon>
  6939.         <textAlign>center</textAlign>
  6940.         <font>Chicago</font>
  6941.         <textSize>12</textSize>
  6942.         <textStyle>plain</textStyle>
  6943.         <name>Command key</name>
  6944.         <script>on mouseUpif the commandKey is up then answer "The COMMAND key is up." with "OK"else answer "The COMMAND key is down." with "OK"end mouseUp</script>
  6945.     </part>
  6946.     <content>
  6947.         <layer>background</layer>
  6948.         <id>1</id>
  6949.         <text>Useful Functions</text>
  6950.     </content>
  6951.     <content>
  6952.         <layer>background</layer>
  6953.         <id>13</id>
  6954.         <text><span class="style1">he following properties can be useful.The </span><span class="style3">version</span><span class="style1"> tells you which version of HyperCard is running.  This is important if you use certain commands or functions which are only available in a newer version of HyperCard; you can check which version is in use, and warn the user if he is using an older one.  Click the button to see the value of the property.  The </span><span class="style3">systemVersion</span><span class="style1"> tells you which version of the System is running.  Click the button to see the value of the property.  The </span><span class="style3">diskSpace</span><span class="style1"> is a property you can check in a script if you want to be sure there is enough space on the current disk to perform certain operations.  Click the button to see the value of the property.  The </span><span class="style3">shiftKey</span><span class="style1"> is a function you can use to find out if the Shift key is up or down; for example, you might want do something different in a button script depending on whether the user is holding down the Shift key.  Try clicking the button, then try it again with the Shift key held down.The </span><span class="style3">optionKey</span><span class="style1"> and </span><span class="style3">the commandKey</span><span class="style1">. functions are similar.See the button scripts to see how to get the value of the properties.</span></text>
  6955.     </content>
  6956.     <name>Useful functions</name>
  6957.     <script></script>
  6958. </card>
  6959.  
  6960.  
  6961. card_31060.xml
  6962. <?xml version="1.0" encoding="utf-8" ?>
  6963. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6964. <card>
  6965.     <id>31060</id>
  6966.     <filler1>0</filler1>
  6967.     <cantDelete> <false /> </cantDelete>
  6968.     <showPict> <true /> </showPict>
  6969.     <dontSearch> <false /> </dontSearch>
  6970.     <owner>2759</owner>
  6971.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  6972.     <part>
  6973.         <id>8</id>
  6974.         <type>field</type>
  6975.         <visible> <true /> </visible>
  6976.         <dontWrap> <false /> </dontWrap>
  6977.         <dontSearch> <false /> </dontSearch>
  6978.         <sharedText> <false /> </sharedText>
  6979.         <fixedLineHeight> <false /> </fixedLineHeight>
  6980.         <autoTab> <false /> </autoTab>
  6981.         <lockText> <true /> </lockText>
  6982.         <rect>
  6983.             <left>264</left>
  6984.             <top>83</top>
  6985.             <right>492</right>
  6986.             <bottom>193</bottom>
  6987.         </rect>
  6988.         <style>transparent</style>
  6989.         <autoSelect> <false /> </autoSelect>
  6990.         <showLines> <false /> </showLines>
  6991.         <wideMargins> <false /> </wideMargins>
  6992.         <multipleLines> <false /> </multipleLines>
  6993.         <reservedFamily> 0 </reservedFamily>
  6994.         <titleWidth>0</titleWidth>
  6995.         <icon>0</icon>
  6996.         <textAlign>left</textAlign>
  6997.         <font>Geneva</font>
  6998.         <textSize>12</textSize>
  6999.         <textStyle>plain</textStyle>
  7000.         <textHeight>16</textHeight>
  7001.         <name></name>
  7002.         <script></script>
  7003.     </part>
  7004.     <part>
  7005.         <id>9</id>
  7006.         <type>field</type>
  7007.         <visible> <true /> </visible>
  7008.         <dontWrap> <false /> </dontWrap>
  7009.         <dontSearch> <false /> </dontSearch>
  7010.         <sharedText> <false /> </sharedText>
  7011.         <fixedLineHeight> <false /> </fixedLineHeight>
  7012.         <autoTab> <false /> </autoTab>
  7013.         <lockText> <true /> </lockText>
  7014.         <rect>
  7015.             <left>264</left>
  7016.             <top>233</top>
  7017.             <right>492</right>
  7018.             <bottom>321</bottom>
  7019.         </rect>
  7020.         <style>transparent</style>
  7021.         <autoSelect> <false /> </autoSelect>
  7022.         <showLines> <false /> </showLines>
  7023.         <wideMargins> <false /> </wideMargins>
  7024.         <multipleLines> <false /> </multipleLines>
  7025.         <reservedFamily> 0 </reservedFamily>
  7026.         <titleWidth>0</titleWidth>
  7027.         <icon>0</icon>
  7028.         <textAlign>left</textAlign>
  7029.         <font>Geneva</font>
  7030.         <textSize>9</textSize>
  7031.         <textStyle>plain</textStyle>
  7032.         <textHeight>12</textHeight>
  7033.         <name></name>
  7034.         <script></script>
  7035.     </part>
  7036.     <content>
  7037.         <layer>background</layer>
  7038.         <id>1</id>
  7039.         <text>Function Keys</text>
  7040.     </content>
  7041.     <content>
  7042.         <layer>background</layer>
  7043.         <id>13</id>
  7044.         <text><span class="style1">f you have an extended keyboard, you can use a script to assign handlers to the function keys.In the </span><span class="style3">card</span><span class="style1"> script, there is a handler which performs the commands described on the right; try out the function keys F5 to F8 if your keyboard has them.</span></text>
  7045.     </content>
  7046.     <content>
  7047.         <layer>card</layer>
  7048.         <id>8</id>
  7049.         <text><span class="style3">unction Keys:   F5</span><span class="style1">:  HyperCard Version</span><span class="style3">   F6</span><span class="style1">:  System Version</span><span class="style3">   F7</span><span class="style1">:  Disk Space</span><span class="style3">   F8</span><span class="style1">:  Random Number</span></text>
  7050.     </content>
  7051.     <content>
  7052.         <layer>card</layer>
  7053.         <id>9</id>
  7054.         <text><span class="style3">OTE</span><span class="style1">: some extensions require you to use certain keys like Function keys or Control keys for special functions (QuicKeys for example). Therefore, it is possible that the keys used here will cause something else to happen on your Mac, because extensions will intercept the key presses before they get to HyperCard.</span><span class="style31"></span></text>
  7055.     </content>
  7056.     <name>Function Keys</name>
  7057.     <script>on functionKey xif x = 5 thenanswer "HyperCard version:  " & (the version)else if x = 6 thenanswer "System version:  " & (the systemVersion)else if x = 7 thenput the diskSpace div 1024 into dSpace-- (divide by 1024 to get kilobytes)answer "Disk space available:  " & dSpace & "k bytes."else if x = 8 thenput random (100) into nanswer "Random number between 1 and 100:  " & nend ifend functionKey</script>
  7058. </card>
  7059.  
  7060.  
  7061. card_29816.xml
  7062. <?xml version="1.0" encoding="utf-8" ?>
  7063. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7064. <card>
  7065.     <id>29816</id>
  7066.     <filler1>0</filler1>
  7067.     <cantDelete> <false /> </cantDelete>
  7068.     <showPict> <true /> </showPict>
  7069.     <dontSearch> <false /> </dontSearch>
  7070.     <owner>2759</owner>
  7071.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7072.     <part>
  7073.         <id>8</id>
  7074.         <type>field</type>
  7075.         <visible> <true /> </visible>
  7076.         <dontWrap> <false /> </dontWrap>
  7077.         <dontSearch> <false /> </dontSearch>
  7078.         <sharedText> <false /> </sharedText>
  7079.         <fixedLineHeight> <false /> </fixedLineHeight>
  7080.         <autoTab> <false /> </autoTab>
  7081.         <lockText> <true /> </lockText>
  7082.         <rect>
  7083.             <left>264</left>
  7084.             <top>83</top>
  7085.             <right>492</right>
  7086.             <bottom>193</bottom>
  7087.         </rect>
  7088.         <style>transparent</style>
  7089.         <autoSelect> <false /> </autoSelect>
  7090.         <showLines> <false /> </showLines>
  7091.         <wideMargins> <false /> </wideMargins>
  7092.         <multipleLines> <false /> </multipleLines>
  7093.         <reservedFamily> 0 </reservedFamily>
  7094.         <titleWidth>0</titleWidth>
  7095.         <icon>0</icon>
  7096.         <textAlign>left</textAlign>
  7097.         <font>Geneva</font>
  7098.         <textSize>12</textSize>
  7099.         <textStyle>plain</textStyle>
  7100.         <textHeight>16</textHeight>
  7101.         <name></name>
  7102.         <script></script>
  7103.     </part>
  7104.     <part>
  7105.         <id>10</id>
  7106.         <type>field</type>
  7107.         <visible> <true /> </visible>
  7108.         <dontWrap> <false /> </dontWrap>
  7109.         <dontSearch> <false /> </dontSearch>
  7110.         <sharedText> <false /> </sharedText>
  7111.         <fixedLineHeight> <false /> </fixedLineHeight>
  7112.         <autoTab> <false /> </autoTab>
  7113.         <lockText> <true /> </lockText>
  7114.         <rect>
  7115.             <left>264</left>
  7116.             <top>233</top>
  7117.             <right>492</right>
  7118.             <bottom>321</bottom>
  7119.         </rect>
  7120.         <style>transparent</style>
  7121.         <autoSelect> <false /> </autoSelect>
  7122.         <showLines> <false /> </showLines>
  7123.         <wideMargins> <false /> </wideMargins>
  7124.         <multipleLines> <false /> </multipleLines>
  7125.         <reservedFamily> 0 </reservedFamily>
  7126.         <titleWidth>0</titleWidth>
  7127.         <icon>0</icon>
  7128.         <textAlign>left</textAlign>
  7129.         <font>Geneva</font>
  7130.         <textSize>9</textSize>
  7131.         <textStyle>plain</textStyle>
  7132.         <textHeight>12</textHeight>
  7133.         <name></name>
  7134.         <script></script>
  7135.     </part>
  7136.     <content>
  7137.         <layer>background</layer>
  7138.         <id>1</id>
  7139.         <text>Control Keys</text>
  7140.     </content>
  7141.     <content>
  7142.         <layer>background</layer>
  7143.         <id>13</id>
  7144.         <text><span class="style1">imilarly, you can assign commands to control-key sequences.In the </span><span class="style3">card</span><span class="style1"> script, there is a handler which performs the commands described on the right; try out the control key sequences CNTRL-a to CNTRL-d if your keyboard has a control key.There is a number corresponding to each key value:</span><span class="style26"> Value  Key Pressed</span><span class="style27">  1      a, home  2      b, Enter  3      c  4      d, end   5      e, help   6      f  7      g  8      h, delete   9      i, tab 10      j 11      k, page up 12      l, page down 13      m, Return 14      n 15      o 16      p, all function keys  17      q 18      r 19      s 20      t 21      u 22      v 23      w 24      x 25      y 26      z 27      [, esc, clear 28      \, left arrow  29      ], right arrow  30      up arrow  31      -, down arrow  39      ' 42      * (keypad) 43      + (keypad) 44      , 45      - (keypad) 46      . 47      / 48      0 49      1 50      2 51      3 52      4 53      5 54      6 55      7 56      8 57      9 59      ; 61      =    96      ~127      del</span></text>
  7145.     </content>
  7146.     <content>
  7147.         <layer>card</layer>
  7148.         <id>8</id>
  7149.         <text><span class="style3">ontrol Keys:   CNTRL-a</span><span class="style1">:  HyperCard Version</span><span class="style3">   CNTRL-b</span><span class="style1">:  System Version</span><span class="style3">   CNTRL-c</span><span class="style1">:  Disk Space</span><span class="style3">   CNTRL-d</span><span class="style1">:  Random Number</span></text>
  7150.     </content>
  7151.     <content>
  7152.         <layer>card</layer>
  7153.         <id>10</id>
  7154.         <text><span class="style3">OTE</span><span class="style1">: some extensions require you to use certain keys like Function keys or Control keys for special functions (QuicKeys for example). Therefore, it is possible that the keys used here will cause something else to happen on your Mac, because extensions will intercept the key presses before they get to HyperCard.</span></text>
  7155.     </content>
  7156.     <name>Control Keys</name>
  7157.     <script>on controlKey xif x = 1 then  --  CNTRL-aanswer "HyperCard version:  " & (the version)else if x = 2 then  --  CNTRL-banswer "System version:  " & (the systemVersion)else if x = 3 then  --  CNTRL-cput the diskSpace div 1024 into dSpace-- (divide by 1024 to get kilobytes)answer "Disk space available:  " & dSpace & "k bytes."else if x = 4 then  --  CNTRL-dput random (100) into nanswer "Random number between 1 and 100:  " & nend ifend controlKey</script>
  7158. </card>
  7159.  
  7160.  
  7161. card_21603.xml
  7162. <?xml version="1.0" encoding="utf-8" ?>
  7163. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7164. <card>
  7165.     <id>21603</id>
  7166.     <filler1>0</filler1>
  7167.     <cantDelete> <false /> </cantDelete>
  7168.     <showPict> <true /> </showPict>
  7169.     <dontSearch> <false /> </dontSearch>
  7170.     <owner>2759</owner>
  7171.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7172.     <part>
  7173.         <id>1</id>
  7174.         <type>button</type>
  7175.         <visible> <true /> </visible>
  7176.         <reserved5> 0 </reserved5>
  7177.         <reserved4> 0 </reserved4>
  7178.         <reserved3> 0 </reserved3>
  7179.         <reserved2> 0 </reserved2>
  7180.         <reserved1> 0 </reserved1>
  7181.         <enabled> <true /> </enabled>
  7182.         <rect>
  7183.             <left>327</left>
  7184.             <top>143</top>
  7185.             <right>427</right>
  7186.             <bottom>165</bottom>
  7187.         </rect>
  7188.         <style>roundrect</style>
  7189.         <showName> <true /> </showName>
  7190.         <highlight> <false /> </highlight>
  7191.         <autoHighlight> <true /> </autoHighlight>
  7192.         <sharedHighlight> <true /> </sharedHighlight>
  7193.         <family>0</family>
  7194.         <titleWidth>0</titleWidth>
  7195.         <icon>0</icon>
  7196.         <textAlign>center</textAlign>
  7197.         <font>Chicago</font>
  7198.         <textSize>12</textSize>
  7199.         <textStyle>plain</textStyle>
  7200.         <name>Show It</name>
  7201.         <script>on mouseUplock screenshow card button "Title"show card field "Index Field"show card button "Close"unlock screen with zoom openend mouseUp</script>
  7202.     </part>
  7203.     <part>
  7204.         <id>4</id>
  7205.         <type>button</type>
  7206.         <visible> <false /> </visible>
  7207.         <reserved5> 0 </reserved5>
  7208.         <reserved4> 0 </reserved4>
  7209.         <reserved3> 0 </reserved3>
  7210.         <reserved2> 0 </reserved2>
  7211.         <reserved1> 0 </reserved1>
  7212.         <enabled> <true /> </enabled>
  7213.         <rect>
  7214.             <left>296</left>
  7215.             <top>113</top>
  7216.             <right>455</right>
  7217.             <bottom>129</bottom>
  7218.         </rect>
  7219.         <style>rectangle</style>
  7220.         <showName> <true /> </showName>
  7221.         <highlight> <true /> </highlight>
  7222.         <autoHighlight> <false /> </autoHighlight>
  7223.         <sharedHighlight> <true /> </sharedHighlight>
  7224.         <family>0</family>
  7225.         <titleWidth>0</titleWidth>
  7226.         <icon>0</icon>
  7227.         <textAlign>center</textAlign>
  7228.         <font>Chicago</font>
  7229.         <textSize>12</textSize>
  7230.         <textStyle>plain</textStyle>
  7231.         <name>Title</name>
  7232.         <script></script>
  7233.     </part>
  7234.     <part>
  7235.         <id>2</id>
  7236.         <type>field</type>
  7237.         <visible> <false /> </visible>
  7238.         <dontWrap> <false /> </dontWrap>
  7239.         <dontSearch> <false /> </dontSearch>
  7240.         <sharedText> <false /> </sharedText>
  7241.         <fixedLineHeight> <true /> </fixedLineHeight>
  7242.         <autoTab> <false /> </autoTab>
  7243.         <lockText> <true /> </lockText>
  7244.         <rect>
  7245.             <left>296</left>
  7246.             <top>129</top>
  7247.             <right>455</right>
  7248.             <bottom>243</bottom>
  7249.         </rect>
  7250.         <style>rectangle</style>
  7251.         <autoSelect> <false /> </autoSelect>
  7252.         <showLines> <false /> </showLines>
  7253.         <wideMargins> <false /> </wideMargins>
  7254.         <multipleLines> <false /> </multipleLines>
  7255.         <reservedFamily> 0 </reservedFamily>
  7256.         <titleWidth>0</titleWidth>
  7257.         <icon>0</icon>
  7258.         <textAlign>left</textAlign>
  7259.         <font>Geneva</font>
  7260.         <textSize>12</textSize>
  7261.         <textStyle>plain</textStyle>
  7262.         <textHeight>16</textHeight>
  7263.         <name>Index Field</name>
  7264.         <script></script>
  7265.     </part>
  7266.     <part>
  7267.         <id>3</id>
  7268.         <type>button</type>
  7269.         <visible> <false /> </visible>
  7270.         <reserved5> 0 </reserved5>
  7271.         <reserved4> 0 </reserved4>
  7272.         <reserved3> 0 </reserved3>
  7273.         <reserved2> 0 </reserved2>
  7274.         <reserved1> 0 </reserved1>
  7275.         <enabled> <true /> </enabled>
  7276.         <rect>
  7277.             <left>398</left>
  7278.             <top>217</top>
  7279.             <right>451</right>
  7280.             <bottom>239</bottom>
  7281.         </rect>
  7282.         <style>standard</style>
  7283.         <showName> <true /> </showName>
  7284.         <highlight> <false /> </highlight>
  7285.         <autoHighlight> <true /> </autoHighlight>
  7286.         <sharedHighlight> <true /> </sharedHighlight>
  7287.         <family>0</family>
  7288.         <titleWidth>0</titleWidth>
  7289.         <icon>0</icon>
  7290.         <textAlign>center</textAlign>
  7291.         <font>Chicago</font>
  7292.         <textSize>12</textSize>
  7293.         <textStyle>plain</textStyle>
  7294.         <name>Close</name>
  7295.         <script>on mouseUplock screenhide card button "Title"hide card field "Index Field"hide card button "Close"unlock screen with zoom closeend mouseUp</script>
  7296.     </part>
  7297.     <content>
  7298.         <layer>background</layer>
  7299.         <id>1</id>
  7300.         <text>Inverted Text  (1 of 2)</text>
  7301.     </content>
  7302.     <content>
  7303.         <layer>background</layer>
  7304.         <id>13</id>
  7305.         <text><span class="style1">lick the </span><span class="style3">Show It</span><span class="style1"> button to see a new pop-up field.The pop-up field has three parts.  First, there is the field itself.  Second, there is the </span><span class="style3">Close</span><span class="style1"> button; these two are similar to the ones shown in one of the pop-up field examples earlier in the stack.The third component is the </span><span class="style3">Title bar</span><span class="style1"> which consists of another button.  The inverted effect is achieved by setting the</span><span class="style3"> hilite</span><span class="style1"> property of the button.  After creating a rectangle button named Title, I typed the following in the message box:</span><span class="style22">set the hilite of card button "Title" to true</span><span class="style1">Look at the scripts for the </span><span class="style3">Show it</span><span class="style1"> and </span><span class="style3">Close</span><span class="style1"> button. Also note how the </span><span class="style3">zoom</span><span class="style1"> visual effect is used.</span></text>
  7306.     </content>
  7307.     <content>
  7308.         <layer>card</layer>
  7309.         <id>2</id>
  7310.         <text>This field could contain some information or an index of items to click on...</text>
  7311.     </content>
  7312.     <name>Inverted text</name>
  7313.     <script>on closeCardhide card button "Title"hide card field "Index Field"hide card button "Close"pass closeCardend closeCard</script>
  7314. </card>
  7315.  
  7316.  
  7317. card_22806.xml
  7318. <?xml version="1.0" encoding="utf-8" ?>
  7319. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7320. <card>
  7321.     <id>22806</id>
  7322.     <filler1>0</filler1>
  7323.     <cantDelete> <false /> </cantDelete>
  7324.     <showPict> <true /> </showPict>
  7325.     <dontSearch> <false /> </dontSearch>
  7326.     <owner>2759</owner>
  7327.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7328.     <part>
  7329.         <id>1</id>
  7330.         <type>button</type>
  7331.         <visible> <true /> </visible>
  7332.         <reserved5> 0 </reserved5>
  7333.         <reserved4> 0 </reserved4>
  7334.         <reserved3> 0 </reserved3>
  7335.         <reserved2> 0 </reserved2>
  7336.         <reserved1> 0 </reserved1>
  7337.         <enabled> <true /> </enabled>
  7338.         <rect>
  7339.             <left>327</left>
  7340.             <top>143</top>
  7341.             <right>427</right>
  7342.             <bottom>165</bottom>
  7343.         </rect>
  7344.         <style>roundrect</style>
  7345.         <showName> <true /> </showName>
  7346.         <highlight> <false /> </highlight>
  7347.         <autoHighlight> <true /> </autoHighlight>
  7348.         <sharedHighlight> <true /> </sharedHighlight>
  7349.         <family>0</family>
  7350.         <titleWidth>0</titleWidth>
  7351.         <icon>0</icon>
  7352.         <textAlign>center</textAlign>
  7353.         <font>Chicago</font>
  7354.         <textSize>12</textSize>
  7355.         <textStyle>plain</textStyle>
  7356.         <name>Show It</name>
  7357.         <script>on mouseUpset the lockScreen to trueshow card button "Title"show card field "Index Field"show card button "Close"end mouseUp</script>
  7358.     </part>
  7359.     <part>
  7360.         <id>4</id>
  7361.         <type>button</type>
  7362.         <visible> <false /> </visible>
  7363.         <reserved5> 0 </reserved5>
  7364.         <reserved4> 0 </reserved4>
  7365.         <reserved3> 0 </reserved3>
  7366.         <reserved2> 0 </reserved2>
  7367.         <reserved1> 0 </reserved1>
  7368.         <enabled> <true /> </enabled>
  7369.         <rect>
  7370.             <left>295</left>
  7371.             <top>110</top>
  7372.             <right>465</right>
  7373.             <bottom>132</bottom>
  7374.         </rect>
  7375.         <style>rectangle</style>
  7376.         <showName> <true /> </showName>
  7377.         <highlight> <true /> </highlight>
  7378.         <autoHighlight> <false /> </autoHighlight>
  7379.         <sharedHighlight> <true /> </sharedHighlight>
  7380.         <family>0</family>
  7381.         <titleWidth>0</titleWidth>
  7382.         <icon>0</icon>
  7383.         <textAlign>center</textAlign>
  7384.         <font>Chicago</font>
  7385.         <textSize>12</textSize>
  7386.         <textStyle>plain</textStyle>
  7387.         <name>Title</name>
  7388.         <script></script>
  7389.     </part>
  7390.     <part>
  7391.         <id>2</id>
  7392.         <type>field</type>
  7393.         <visible> <false /> </visible>
  7394.         <dontWrap> <false /> </dontWrap>
  7395.         <dontSearch> <false /> </dontSearch>
  7396.         <sharedText> <false /> </sharedText>
  7397.         <fixedLineHeight> <true /> </fixedLineHeight>
  7398.         <autoTab> <false /> </autoTab>
  7399.         <lockText> <true /> </lockText>
  7400.         <rect>
  7401.             <left>295</left>
  7402.             <top>129</top>
  7403.             <right>465</right>
  7404.             <bottom>243</bottom>
  7405.         </rect>
  7406.         <style>shadow</style>
  7407.         <autoSelect> <false /> </autoSelect>
  7408.         <showLines> <false /> </showLines>
  7409.         <wideMargins> <false /> </wideMargins>
  7410.         <multipleLines> <false /> </multipleLines>
  7411.         <reservedFamily> 0 </reservedFamily>
  7412.         <titleWidth>0</titleWidth>
  7413.         <icon>0</icon>
  7414.         <textAlign>left</textAlign>
  7415.         <font>Geneva</font>
  7416.         <textSize>12</textSize>
  7417.         <textStyle>plain</textStyle>
  7418.         <textHeight>16</textHeight>
  7419.         <name>Index Field</name>
  7420.         <script></script>
  7421.     </part>
  7422.     <part>
  7423.         <id>5</id>
  7424.         <type>button</type>
  7425.         <visible> <false /> </visible>
  7426.         <reserved5> 0 </reserved5>
  7427.         <reserved4> 0 </reserved4>
  7428.         <reserved3> 0 </reserved3>
  7429.         <reserved2> 0 </reserved2>
  7430.         <reserved1> 0 </reserved1>
  7431.         <enabled> <true /> </enabled>
  7432.         <rect>
  7433.             <left>298</left>
  7434.             <top>113</top>
  7435.             <right>314</right>
  7436.             <bottom>129</bottom>
  7437.         </rect>
  7438.         <style>transparent</style>
  7439.         <showName> <false /> </showName>
  7440.         <highlight> <false /> </highlight>
  7441.         <autoHighlight> <false /> </autoHighlight>
  7442.         <sharedHighlight> <true /> </sharedHighlight>
  7443.         <family>0</family>
  7444.         <titleWidth>0</titleWidth>
  7445.         <icon>3071</icon>
  7446.         <textAlign>center</textAlign>
  7447.         <font>Chicago</font>
  7448.         <textSize>12</textSize>
  7449.         <textStyle>plain</textStyle>
  7450.         <name>Close</name>
  7451.         <script>on mouseDownset the icon of me to "Clicked Close Box"repeat until the mouse is upif the mouseLoc is within the rect of me thenset the icon of me to "Clicked Close Box"elseset the icon of me to "Close Box"end ifend repeatset the icon of me to "Close Box"end mouseDownon mouseUpset the lockScreen to truehide card button "Title"hide card field "Index Field"hide card button "Close"end mouseUp</script>
  7452.     </part>
  7453.     <part>
  7454.         <id>6</id>
  7455.         <type>button</type>
  7456.         <visible> <true /> </visible>
  7457.         <reserved5> 0 </reserved5>
  7458.         <reserved4> 0 </reserved4>
  7459.         <reserved3> 0 </reserved3>
  7460.         <reserved2> 0 </reserved2>
  7461.         <reserved1> 0 </reserved1>
  7462.         <enabled> <true /> </enabled>
  7463.         <rect>
  7464.             <left>75</left>
  7465.             <top>185</top>
  7466.             <right>101</right>
  7467.             <bottom>207</bottom>
  7468.         </rect>
  7469.         <style>transparent</style>
  7470.         <showName> <false /> </showName>
  7471.         <highlight> <false /> </highlight>
  7472.         <autoHighlight> <false /> </autoHighlight>
  7473.         <sharedHighlight> <true /> </sharedHighlight>
  7474.         <family>0</family>
  7475.         <titleWidth>0</titleWidth>
  7476.         <icon>3071</icon>
  7477.         <textAlign>center</textAlign>
  7478.         <font>Chicago</font>
  7479.         <textSize>12</textSize>
  7480.         <textStyle>plain</textStyle>
  7481.         <name></name>
  7482.         <script></script>
  7483.     </part>
  7484.     <part>
  7485.         <id>7</id>
  7486.         <type>button</type>
  7487.         <visible> <true /> </visible>
  7488.         <reserved5> 0 </reserved5>
  7489.         <reserved4> 0 </reserved4>
  7490.         <reserved3> 0 </reserved3>
  7491.         <reserved2> 0 </reserved2>
  7492.         <reserved1> 0 </reserved1>
  7493.         <enabled> <true /> </enabled>
  7494.         <rect>
  7495.             <left>133</left>
  7496.             <top>185</top>
  7497.             <right>159</right>
  7498.             <bottom>207</bottom>
  7499.         </rect>
  7500.         <style>transparent</style>
  7501.         <showName> <false /> </showName>
  7502.         <highlight> <false /> </highlight>
  7503.         <autoHighlight> <false /> </autoHighlight>
  7504.         <sharedHighlight> <true /> </sharedHighlight>
  7505.         <family>0</family>
  7506.         <titleWidth>0</titleWidth>
  7507.         <icon>3358</icon>
  7508.         <textAlign>center</textAlign>
  7509.         <font>Chicago</font>
  7510.         <textSize>12</textSize>
  7511.         <textStyle>plain</textStyle>
  7512.         <name></name>
  7513.         <script></script>
  7514.     </part>
  7515.     <content>
  7516.         <layer>background</layer>
  7517.         <id>1</id>
  7518.         <text>Inverted Text  (2 of 2)</text>
  7519.     </content>
  7520.     <content>
  7521.         <layer>background</layer>
  7522.         <id>13</id>
  7523.         <text>This is a variation on the technique shown on the previous card, where the close button is a small rectangle on the left side of the window title.  This emulates Macintosh windows.The little close box behaves just like the close box on a real window. It uses two icons:The icon on the right is used when the close box is clicked. See the script of the close-box button to see how it works.</text>
  7524.     </content>
  7525.     <content>
  7526.         <layer>card</layer>
  7527.         <id>2</id>
  7528.         <text>This field could contain some information or an index...</text>
  7529.     </content>
  7530.     <name></name>
  7531.     <script></script>
  7532. </card>
  7533.  
  7534.  
  7535. card_22046.xml
  7536. <?xml version="1.0" encoding="utf-8" ?>
  7537. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7538. <card>
  7539.     <id>22046</id>
  7540.     <filler1>0</filler1>
  7541.     <cantDelete> <false /> </cantDelete>
  7542.     <showPict> <true /> </showPict>
  7543.     <dontSearch> <false /> </dontSearch>
  7544.     <owner>2759</owner>
  7545.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7546.     <part>
  7547.         <id>1</id>
  7548.         <type>button</type>
  7549.         <visible> <true /> </visible>
  7550.         <reserved5> 0 </reserved5>
  7551.         <reserved4> 0 </reserved4>
  7552.         <reserved3> 0 </reserved3>
  7553.         <reserved2> 0 </reserved2>
  7554.         <reserved1> 0 </reserved1>
  7555.         <enabled> <true /> </enabled>
  7556.         <rect>
  7557.             <left>284</left>
  7558.             <top>66</top>
  7559.             <right>457</right>
  7560.             <bottom>88</bottom>
  7561.         </rect>
  7562.         <style>checkbox</style>
  7563.         <showName> <true /> </showName>
  7564.         <highlight> <true /> </highlight>
  7565.         <autoHighlight> <true /> </autoHighlight>
  7566.         <sharedHighlight> <true /> </sharedHighlight>
  7567.         <family>0</family>
  7568.         <titleWidth>0</titleWidth>
  7569.         <icon>0</icon>
  7570.         <textAlign>center</textAlign>
  7571.         <font>Chicago</font>
  7572.         <textSize>12</textSize>
  7573.         <textStyle>plain</textStyle>
  7574.         <name>Weekday</name>
  7575.         <script>on mouseUpif the hilite of me is true thenenable card button "Monday"enable card button "Tuesday"enable card button "Wednesday"enable card button "Thursday"enable card button "Friday"elsedisable card button "Monday"disable card button "Tuesday"disable card button "Wednesday"disable card button "Thursday"disable card button "Friday"end ifend mouseUp</script>
  7576.     </part>
  7577.     <part>
  7578.         <id>2</id>
  7579.         <type>button</type>
  7580.         <visible> <true /> </visible>
  7581.         <reserved5> 0 </reserved5>
  7582.         <reserved4> 0 </reserved4>
  7583.         <reserved3> 0 </reserved3>
  7584.         <reserved2> 0 </reserved2>
  7585.         <reserved1> 0 </reserved1>
  7586.         <enabled> <true /> </enabled>
  7587.         <rect>
  7588.             <left>334</left>
  7589.             <top>99</top>
  7590.             <right>460</right>
  7591.             <bottom>121</bottom>
  7592.         </rect>
  7593.         <style>radiobutton</style>
  7594.         <showName> <true /> </showName>
  7595.         <highlight> <true /> </highlight>
  7596.         <autoHighlight> <true /> </autoHighlight>
  7597.         <sharedHighlight> <true /> </sharedHighlight>
  7598.         <family>1</family>
  7599.         <titleWidth>0</titleWidth>
  7600.         <icon>0</icon>
  7601.         <textAlign>center</textAlign>
  7602.         <font>Chicago</font>
  7603.         <textSize>12</textSize>
  7604.         <textStyle>plain</textStyle>
  7605.         <name>Monday</name>
  7606.         <script></script>
  7607.     </part>
  7608.     <part>
  7609.         <id>3</id>
  7610.         <type>button</type>
  7611.         <visible> <true /> </visible>
  7612.         <reserved5> 0 </reserved5>
  7613.         <reserved4> 0 </reserved4>
  7614.         <reserved3> 0 </reserved3>
  7615.         <reserved2> 0 </reserved2>
  7616.         <reserved1> 0 </reserved1>
  7617.         <enabled> <true /> </enabled>
  7618.         <rect>
  7619.             <left>334</left>
  7620.             <top>121</top>
  7621.             <right>460</right>
  7622.             <bottom>143</bottom>
  7623.         </rect>
  7624.         <style>radiobutton</style>
  7625.         <showName> <true /> </showName>
  7626.         <highlight> <false /> </highlight>
  7627.         <autoHighlight> <true /> </autoHighlight>
  7628.         <sharedHighlight> <true /> </sharedHighlight>
  7629.         <family>1</family>
  7630.         <titleWidth>0</titleWidth>
  7631.         <icon>0</icon>
  7632.         <textAlign>center</textAlign>
  7633.         <font>Chicago</font>
  7634.         <textSize>12</textSize>
  7635.         <textStyle>plain</textStyle>
  7636.         <name>Tuesday</name>
  7637.         <script></script>
  7638.     </part>
  7639.     <part>
  7640.         <id>4</id>
  7641.         <type>button</type>
  7642.         <visible> <true /> </visible>
  7643.         <reserved5> 0 </reserved5>
  7644.         <reserved4> 0 </reserved4>
  7645.         <reserved3> 0 </reserved3>
  7646.         <reserved2> 0 </reserved2>
  7647.         <reserved1> 0 </reserved1>
  7648.         <enabled> <true /> </enabled>
  7649.         <rect>
  7650.             <left>334</left>
  7651.             <top>143</top>
  7652.             <right>460</right>
  7653.             <bottom>165</bottom>
  7654.         </rect>
  7655.         <style>radiobutton</style>
  7656.         <showName> <true /> </showName>
  7657.         <highlight> <false /> </highlight>
  7658.         <autoHighlight> <true /> </autoHighlight>
  7659.         <sharedHighlight> <true /> </sharedHighlight>
  7660.         <family>1</family>
  7661.         <titleWidth>0</titleWidth>
  7662.         <icon>0</icon>
  7663.         <textAlign>center</textAlign>
  7664.         <font>Chicago</font>
  7665.         <textSize>12</textSize>
  7666.         <textStyle>plain</textStyle>
  7667.         <name>Wednesday</name>
  7668.         <script></script>
  7669.     </part>
  7670.     <part>
  7671.         <id>5</id>
  7672.         <type>button</type>
  7673.         <visible> <true /> </visible>
  7674.         <reserved5> 0 </reserved5>
  7675.         <reserved4> 0 </reserved4>
  7676.         <reserved3> 0 </reserved3>
  7677.         <reserved2> 0 </reserved2>
  7678.         <reserved1> 0 </reserved1>
  7679.         <enabled> <true /> </enabled>
  7680.         <rect>
  7681.             <left>284</left>
  7682.             <top>231</top>
  7683.             <right>471</right>
  7684.             <bottom>253</bottom>
  7685.         </rect>
  7686.         <style>checkbox</style>
  7687.         <showName> <true /> </showName>
  7688.         <highlight> <false /> </highlight>
  7689.         <autoHighlight> <true /> </autoHighlight>
  7690.         <sharedHighlight> <true /> </sharedHighlight>
  7691.         <family>0</family>
  7692.         <titleWidth>0</titleWidth>
  7693.         <icon>0</icon>
  7694.         <textAlign>center</textAlign>
  7695.         <font>Chicago</font>
  7696.         <textSize>12</textSize>
  7697.         <textStyle>plain</textStyle>
  7698.         <name>Weekend</name>
  7699.         <script>on mouseUpif the hilite of me is true thenenable card button "Saturday"enable card button "Sunday"elsedisable card button "Saturday"disable card button "Sunday"end ifend mouseUp</script>
  7700.     </part>
  7701.     <part>
  7702.         <id>6</id>
  7703.         <type>button</type>
  7704.         <visible> <true /> </visible>
  7705.         <reserved5> 0 </reserved5>
  7706.         <reserved4> 0 </reserved4>
  7707.         <reserved3> 0 </reserved3>
  7708.         <reserved2> 0 </reserved2>
  7709.         <reserved1> 0 </reserved1>
  7710.         <enabled> <true /> </enabled>
  7711.         <rect>
  7712.             <left>334</left>
  7713.             <top>165</top>
  7714.             <right>460</right>
  7715.             <bottom>187</bottom>
  7716.         </rect>
  7717.         <style>radiobutton</style>
  7718.         <showName> <true /> </showName>
  7719.         <highlight> <false /> </highlight>
  7720.         <autoHighlight> <true /> </autoHighlight>
  7721.         <sharedHighlight> <true /> </sharedHighlight>
  7722.         <family>1</family>
  7723.         <titleWidth>0</titleWidth>
  7724.         <icon>0</icon>
  7725.         <textAlign>center</textAlign>
  7726.         <font>Chicago</font>
  7727.         <textSize>12</textSize>
  7728.         <textStyle>plain</textStyle>
  7729.         <name>Thursday</name>
  7730.         <script></script>
  7731.     </part>
  7732.     <part>
  7733.         <id>7</id>
  7734.         <type>button</type>
  7735.         <visible> <true /> </visible>
  7736.         <reserved5> 0 </reserved5>
  7737.         <reserved4> 0 </reserved4>
  7738.         <reserved3> 0 </reserved3>
  7739.         <reserved2> 0 </reserved2>
  7740.         <reserved1> 0 </reserved1>
  7741.         <enabled> <true /> </enabled>
  7742.         <rect>
  7743.             <left>334</left>
  7744.             <top>187</top>
  7745.             <right>460</right>
  7746.             <bottom>209</bottom>
  7747.         </rect>
  7748.         <style>radiobutton</style>
  7749.         <showName> <true /> </showName>
  7750.         <highlight> <false /> </highlight>
  7751.         <autoHighlight> <true /> </autoHighlight>
  7752.         <sharedHighlight> <true /> </sharedHighlight>
  7753.         <family>1</family>
  7754.         <titleWidth>0</titleWidth>
  7755.         <icon>0</icon>
  7756.         <textAlign>center</textAlign>
  7757.         <font>Chicago</font>
  7758.         <textSize>12</textSize>
  7759.         <textStyle>plain</textStyle>
  7760.         <name>Friday</name>
  7761.         <script></script>
  7762.     </part>
  7763.     <part>
  7764.         <id>8</id>
  7765.         <type>button</type>
  7766.         <visible> <true /> </visible>
  7767.         <reserved5> 0 </reserved5>
  7768.         <reserved4> 0 </reserved4>
  7769.         <reserved3> 0 </reserved3>
  7770.         <reserved2> 0 </reserved2>
  7771.         <reserved1> 0 </reserved1>
  7772.         <enabled> <false /> </enabled>
  7773.         <rect>
  7774.             <left>334</left>
  7775.             <top>259</top>
  7776.             <right>460</right>
  7777.             <bottom>281</bottom>
  7778.         </rect>
  7779.         <style>radiobutton</style>
  7780.         <showName> <true /> </showName>
  7781.         <highlight> <true /> </highlight>
  7782.         <autoHighlight> <true /> </autoHighlight>
  7783.         <sharedHighlight> <true /> </sharedHighlight>
  7784.         <family>2</family>
  7785.         <titleWidth>0</titleWidth>
  7786.         <icon>0</icon>
  7787.         <textAlign>center</textAlign>
  7788.         <font>Chicago</font>
  7789.         <textSize>12</textSize>
  7790.         <textStyle>plain</textStyle>
  7791.         <name>Saturday</name>
  7792.         <script></script>
  7793.     </part>
  7794.     <part>
  7795.         <id>9</id>
  7796.         <type>button</type>
  7797.         <visible> <true /> </visible>
  7798.         <reserved5> 0 </reserved5>
  7799.         <reserved4> 0 </reserved4>
  7800.         <reserved3> 0 </reserved3>
  7801.         <reserved2> 0 </reserved2>
  7802.         <reserved1> 0 </reserved1>
  7803.         <enabled> <false /> </enabled>
  7804.         <rect>
  7805.             <left>334</left>
  7806.             <top>281</top>
  7807.             <right>460</right>
  7808.             <bottom>303</bottom>
  7809.         </rect>
  7810.         <style>radiobutton</style>
  7811.         <showName> <true /> </showName>
  7812.         <highlight> <false /> </highlight>
  7813.         <autoHighlight> <true /> </autoHighlight>
  7814.         <sharedHighlight> <true /> </sharedHighlight>
  7815.         <family>2</family>
  7816.         <titleWidth>0</titleWidth>
  7817.         <icon>0</icon>
  7818.         <textAlign>center</textAlign>
  7819.         <font>Chicago</font>
  7820.         <textSize>12</textSize>
  7821.         <textStyle>plain</textStyle>
  7822.         <name>Sunday</name>
  7823.         <script></script>
  7824.     </part>
  7825.     <content>
  7826.         <layer>background</layer>
  7827.         <id>1</id>
  7828.         <text>Inactive Buttons</text>
  7829.     </content>
  7830.     <content>
  7831.         <layer>background</layer>
  7832.         <id>13</id>
  7833.         <text><span class="style1">n the standard Macintosh interface, buttons which are inactive under some circumstances are usually dimmed (i.e., displayed in grey).To make a button inactive, use the </span><span class="style3">Disable</span><span class="style1"> command; to make it active again, use the </span><span class="style3">Enable</span><span class="style1"> command.See the scripts of the checkbox buttons.Incidentally, this also illustrates how you can have more than one set of radio buttons on the same card, by using more than one </span><span class="style3">Family</span><span class="style1">.</span><span class="style28">Requires HyperCard 2.2.</span></text>
  7834.     </content>
  7835.     <name>Inactive buttons</name>
  7836.     <script></script>
  7837. </card>
  7838.  
  7839.  
  7840. card_24503.xml
  7841. <?xml version="1.0" encoding="utf-8" ?>
  7842. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7843. <card>
  7844.     <id>24503</id>
  7845.     <filler1>0</filler1>
  7846.     <cantDelete> <false /> </cantDelete>
  7847.     <showPict> <true /> </showPict>
  7848.     <dontSearch> <false /> </dontSearch>
  7849.     <owner>2759</owner>
  7850.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7851.     <part>
  7852.         <id>1</id>
  7853.         <type>field</type>
  7854.         <visible> <true /> </visible>
  7855.         <dontWrap> <false /> </dontWrap>
  7856.         <dontSearch> <false /> </dontSearch>
  7857.         <sharedText> <false /> </sharedText>
  7858.         <fixedLineHeight> <true /> </fixedLineHeight>
  7859.         <autoTab> <false /> </autoTab>
  7860.         <lockText> <false /> </lockText>
  7861.         <rect>
  7862.             <left>283</left>
  7863.             <top>74</top>
  7864.             <right>348</right>
  7865.             <bottom>268</bottom>
  7866.         </rect>
  7867.         <style>rectangle</style>
  7868.         <autoSelect> <false /> </autoSelect>
  7869.         <showLines> <true /> </showLines>
  7870.         <wideMargins> <false /> </wideMargins>
  7871.         <multipleLines> <false /> </multipleLines>
  7872.         <reservedFamily> 0 </reservedFamily>
  7873.         <titleWidth>0</titleWidth>
  7874.         <icon>0</icon>
  7875.         <textAlign>right</textAlign>
  7876.         <font>Geneva</font>
  7877.         <textSize>12</textSize>
  7878.         <textStyle>plain</textStyle>
  7879.         <textHeight>16</textHeight>
  7880.         <name></name>
  7881.         <script></script>
  7882.     </part>
  7883.     <part>
  7884.         <id>2</id>
  7885.         <type>field</type>
  7886.         <visible> <true /> </visible>
  7887.         <dontWrap> <false /> </dontWrap>
  7888.         <dontSearch> <false /> </dontSearch>
  7889.         <sharedText> <false /> </sharedText>
  7890.         <fixedLineHeight> <true /> </fixedLineHeight>
  7891.         <autoTab> <false /> </autoTab>
  7892.         <lockText> <false /> </lockText>
  7893.         <rect>
  7894.             <left>347</left>
  7895.             <top>74</top>
  7896.             <right>412</right>
  7897.             <bottom>268</bottom>
  7898.         </rect>
  7899.         <style>rectangle</style>
  7900.         <autoSelect> <false /> </autoSelect>
  7901.         <showLines> <true /> </showLines>
  7902.         <wideMargins> <false /> </wideMargins>
  7903.         <multipleLines> <false /> </multipleLines>
  7904.         <reservedFamily> 0 </reservedFamily>
  7905.         <titleWidth>0</titleWidth>
  7906.         <icon>0</icon>
  7907.         <textAlign>right</textAlign>
  7908.         <font>Geneva</font>
  7909.         <textSize>12</textSize>
  7910.         <textStyle>plain</textStyle>
  7911.         <textHeight>16</textHeight>
  7912.         <name></name>
  7913.         <script></script>
  7914.     </part>
  7915.     <part>
  7916.         <id>3</id>
  7917.         <type>field</type>
  7918.         <visible> <true /> </visible>
  7919.         <dontWrap> <false /> </dontWrap>
  7920.         <dontSearch> <false /> </dontSearch>
  7921.         <sharedText> <false /> </sharedText>
  7922.         <fixedLineHeight> <true /> </fixedLineHeight>
  7923.         <autoTab> <false /> </autoTab>
  7924.         <lockText> <false /> </lockText>
  7925.         <rect>
  7926.             <left>411</left>
  7927.             <top>74</top>
  7928.             <right>476</right>
  7929.             <bottom>268</bottom>
  7930.         </rect>
  7931.         <style>rectangle</style>
  7932.         <autoSelect> <false /> </autoSelect>
  7933.         <showLines> <true /> </showLines>
  7934.         <wideMargins> <false /> </wideMargins>
  7935.         <multipleLines> <false /> </multipleLines>
  7936.         <reservedFamily> 0 </reservedFamily>
  7937.         <titleWidth>0</titleWidth>
  7938.         <icon>0</icon>
  7939.         <textAlign>right</textAlign>
  7940.         <font>Geneva</font>
  7941.         <textSize>12</textSize>
  7942.         <textStyle>plain</textStyle>
  7943.         <textHeight>16</textHeight>
  7944.         <name></name>
  7945.         <script></script>
  7946.     </part>
  7947.     <content>
  7948.         <layer>background</layer>
  7949.         <id>1</id>
  7950.         <text>Spreadsheet-like Fields(from Windoid #8)</text>
  7951.     </content>
  7952.     <content>
  7953.         <layer>background</layer>
  7954.         <id>13</id>
  7955.         <text><span class="style1">hese fields behave like a spreadsheet, you can use </span><span class="style3">Tab</span><span class="style1">, </span><span class="style3">Return</span><span class="style1">, and </span><span class="style3">Arrow</span><span class="style1"> keys to move around.See the card script to see how it's done.</span><span class="style24">From Windoid #8.</span></text>
  7956.     </content>
  7957.     <content>
  7958.         <layer>card</layer>
  7959.         <id>1</id>
  7960.         <text>1239879000012.33</text>
  7961.     </content>
  7962.     <content>
  7963.         <layer>card</layer>
  7964.         <id>2</id>
  7965.         <text>45</text>
  7966.     </content>
  7967.     <content>
  7968.         <layer>card</layer>
  7969.         <id>3</id>
  7970.         <text>678</text>
  7971.     </content>
  7972.     <content>
  7973.         <layer>background</layer>
  7974.         <id>16</id>
  7975.         <text></text>
  7976.     </content>
  7977.     <name>Spreadsheet-like fields</name>
  7978.     <script>--            Spreadsheet-like fields, from Windoid #8----------------------------------------------------------------------on openCard  -- global variables hold the number of rows and columnsglobal numCol, numRowsput 3 into numColput 12 into numRowspass openCardend openCard----------------------------------------------------------------------on tabKeyglobal numCol, numRowsget the selectedLineif it is empty then put "line 1 of card field 0" into itadd 1 to word 6 of itif word 6 of it > numCol thenput 1 into word 6 of itadd 1 to word 2 of itif word 2 of it > numRows then put 1 into word 2 of itend ifselect itend tabKey----------------------------------------------------------------------on returnInFieldglobal numCol, numRowsget the selectedLineif word 2 of it < numRows then add 1 to word 2 of itput 1 into word 6 of itselect itend returnInField----------------------------------------------------------------------on arrowKey directionglobal numCol, numRowsif the commandKey is down or the optionKey is down ¬¨or the shiftKey is down then pass arrowKeyget the selectedLineif "field" is not in it then pass arrowKeyif direction is "up" and word 2 of it > 1then subtract 1 from word 2 of itelse if direction is "down" and word 2 of it < numRowsthen add 1 to word 2 of itelse if direction is "left" and word 6 of it > 1then subtract 1 from word 6 of itelse if direction is "right" and word 6 of it < numColthen add 1 to word 6 of itselect itend arrowKey</script>
  7979. </card>
  7980.  
  7981.  
  7982. card_24703.xml
  7983. <?xml version="1.0" encoding="utf-8" ?>
  7984. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7985. <card>
  7986.     <id>24703</id>
  7987.     <filler1>0</filler1>
  7988.     <cantDelete> <false /> </cantDelete>
  7989.     <showPict> <true /> </showPict>
  7990.     <dontSearch> <false /> </dontSearch>
  7991.     <owner>2759</owner>
  7992.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  7993.     <part>
  7994.         <id>1</id>
  7995.         <type>field</type>
  7996.         <visible> <true /> </visible>
  7997.         <dontWrap> <false /> </dontWrap>
  7998.         <dontSearch> <false /> </dontSearch>
  7999.         <sharedText> <false /> </sharedText>
  8000.         <fixedLineHeight> <true /> </fixedLineHeight>
  8001.         <autoTab> <false /> </autoTab>
  8002.         <lockText> <true /> </lockText>
  8003.         <rect>
  8004.             <left>283</left>
  8005.             <top>211</top>
  8006.             <right>473</right>
  8007.             <bottom>250</bottom>
  8008.         </rect>
  8009.         <style>rectangle</style>
  8010.         <autoSelect> <false /> </autoSelect>
  8011.         <showLines> <false /> </showLines>
  8012.         <wideMargins> <false /> </wideMargins>
  8013.         <multipleLines> <false /> </multipleLines>
  8014.         <reservedFamily> 0 </reservedFamily>
  8015.         <titleWidth>0</titleWidth>
  8016.         <icon>0</icon>
  8017.         <textAlign>center</textAlign>
  8018.         <font>Geneva</font>
  8019.         <textSize>14</textSize>
  8020.         <textStyle>bold</textStyle>
  8021.         <textHeight>18</textHeight>
  8022.         <name>time</name>
  8023.         <script></script>
  8024.     </part>
  8025.     <part>
  8026.         <id>2</id>
  8027.         <type>button</type>
  8028.         <visible> <true /> </visible>
  8029.         <reserved5> 0 </reserved5>
  8030.         <reserved4> 0 </reserved4>
  8031.         <reserved3> 0 </reserved3>
  8032.         <reserved2> 0 </reserved2>
  8033.         <reserved1> 0 </reserved1>
  8034.         <enabled> <true /> </enabled>
  8035.         <rect>
  8036.             <left>276</left>
  8037.             <top>89</top>
  8038.             <right>399</right>
  8039.             <bottom>111</bottom>
  8040.         </rect>
  8041.         <style>roundrect</style>
  8042.         <showName> <true /> </showName>
  8043.         <highlight> <false /> </highlight>
  8044.         <autoHighlight> <true /> </autoHighlight>
  8045.         <sharedHighlight> <true /> </sharedHighlight>
  8046.         <family>0</family>
  8047.         <titleWidth>0</titleWidth>
  8048.         <icon>0</icon>
  8049.         <textAlign>center</textAlign>
  8050.         <font>Chicago</font>
  8051.         <textSize>12</textSize>
  8052.         <textStyle>plain</textStyle>
  8053.         <name>Click me first</name>
  8054.         <script>-- Start timer-- ...by Genevi√®ve Crabeon mouseUpglobal timingOn, startTimeput the ticks into startTimeput true into timingOnend mouseUp</script>
  8055.     </part>
  8056.     <part>
  8057.         <id>3</id>
  8058.         <type>button</type>
  8059.         <visible> <true /> </visible>
  8060.         <reserved5> 0 </reserved5>
  8061.         <reserved4> 0 </reserved4>
  8062.         <reserved3> 0 </reserved3>
  8063.         <reserved2> 0 </reserved2>
  8064.         <reserved1> 0 </reserved1>
  8065.         <enabled> <true /> </enabled>
  8066.         <rect>
  8067.             <left>346</left>
  8068.             <top>128</top>
  8069.             <right>463</right>
  8070.             <bottom>150</bottom>
  8071.         </rect>
  8072.         <style>roundrect</style>
  8073.         <showName> <true /> </showName>
  8074.         <highlight> <false /> </highlight>
  8075.         <autoHighlight> <true /> </autoHighlight>
  8076.         <sharedHighlight> <true /> </sharedHighlight>
  8077.         <family>0</family>
  8078.         <titleWidth>0</titleWidth>
  8079.         <icon>0</icon>
  8080.         <textAlign>center</textAlign>
  8081.         <font>Chicago</font>
  8082.         <textSize>12</textSize>
  8083.         <textStyle>plain</textStyle>
  8084.         <name>then click me</name>
  8085.         <script>-- Stop timer and put value in field-- ...by Genevi√®ve Crabeon mouseUpglobal timingOn, startTime-- timingOn is used to check if Button 1 was clicked firstif timingOn thenput (the ticks - startTime) / 60 into elapsedTimeput false into timingOnset numberFormat to "0.0"  -- display with one decimal placeput "Elapsed time:" & return & elapsedTime & " sec" into ¬¨card field "time"elseanswer "You must click on " & quote & "Click me first" & quote ¬¨& " first."end ifend mouseUp</script>
  8086.     </part>
  8087.     <content>
  8088.         <layer>background</layer>
  8089.         <id>1</id>
  8090.         <text>Timing Events</text>
  8091.     </content>
  8092.     <content>
  8093.         <layer>background</layer>
  8094.         <id>13</id>
  8095.         <text><span class="style1">f you want to figure out how long an event takes, you can use the HyperTalk function </span><span class="style3">the ticks</span><span class="style1">. This function returns the amount of time since the Mac was started up, in sixtieths of a second.If you have an event to time, you can get the value of the ticks at the start and at the end, subtract the two, and divide the result by 60.  This will give you the number of seconds.In the simple example on the right, you are supposed to click the first button, then on the second.  In the field will be displayed the elapsed time.See the scripts of the two buttons, and the card script.</span></text>
  8096.     </content>
  8097.     <content>
  8098.         <layer>card</layer>
  8099.         <id>1</id>
  8100.         <text>Elapsed time:</text>
  8101.     </content>
  8102.     <name>Timing events</name>
  8103.     <script>on openCardglobal timingOnput false into timingOn -- initialize a variable used for timingpass openCardend openCardon closeCard  -- clean upput "Elapsed time:" into card field "time"pass closeCardend closeCard</script>
  8104. </card>
  8105.  
  8106.  
  8107. card_29567.xml
  8108. <?xml version="1.0" encoding="utf-8" ?>
  8109. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8110. <card>
  8111.     <id>29567</id>
  8112.     <filler1>0</filler1>
  8113.     <cantDelete> <false /> </cantDelete>
  8114.     <showPict> <true /> </showPict>
  8115.     <dontSearch> <false /> </dontSearch>
  8116.     <owner>2759</owner>
  8117.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8118.     <part>
  8119.         <id>1</id>
  8120.         <type>field</type>
  8121.         <visible> <true /> </visible>
  8122.         <dontWrap> <false /> </dontWrap>
  8123.         <dontSearch> <false /> </dontSearch>
  8124.         <sharedText> <false /> </sharedText>
  8125.         <fixedLineHeight> <true /> </fixedLineHeight>
  8126.         <autoTab> <false /> </autoTab>
  8127.         <lockText> <true /> </lockText>
  8128.         <rect>
  8129.             <left>283</left>
  8130.             <top>118</top>
  8131.             <right>473</right>
  8132.             <bottom>177</bottom>
  8133.         </rect>
  8134.         <style>transparent</style>
  8135.         <autoSelect> <false /> </autoSelect>
  8136.         <showLines> <false /> </showLines>
  8137.         <wideMargins> <false /> </wideMargins>
  8138.         <multipleLines> <false /> </multipleLines>
  8139.         <reservedFamily> 0 </reservedFamily>
  8140.         <titleWidth>0</titleWidth>
  8141.         <icon>0</icon>
  8142.         <textAlign>center</textAlign>
  8143.         <font>Geneva</font>
  8144.         <textSize>14</textSize>
  8145.         <textStyle>bold</textStyle>
  8146.         <textHeight>18</textHeight>
  8147.         <name>time</name>
  8148.         <script></script>
  8149.     </part>
  8150.     <part>
  8151.         <id>2</id>
  8152.         <type>button</type>
  8153.         <visible> <true /> </visible>
  8154.         <reserved5> 0 </reserved5>
  8155.         <reserved4> 0 </reserved4>
  8156.         <reserved3> 0 </reserved3>
  8157.         <reserved2> 0 </reserved2>
  8158.         <reserved1> 0 </reserved1>
  8159.         <enabled> <true /> </enabled>
  8160.         <rect>
  8161.             <left>272</left>
  8162.             <top>70</top>
  8163.             <right>395</right>
  8164.             <bottom>92</bottom>
  8165.         </rect>
  8166.         <style>roundrect</style>
  8167.         <showName> <true /> </showName>
  8168.         <highlight> <false /> </highlight>
  8169.         <autoHighlight> <true /> </autoHighlight>
  8170.         <sharedHighlight> <true /> </sharedHighlight>
  8171.         <family>0</family>
  8172.         <titleWidth>0</titleWidth>
  8173.         <icon>0</icon>
  8174.         <textAlign>center</textAlign>
  8175.         <font>Chicago</font>
  8176.         <textSize>12</textSize>
  8177.         <textStyle>plain</textStyle>
  8178.         <name>Timing Test</name>
  8179.         <script>-- Timing a section of code-- ...by Genevi√®ve Crabeon mouseUpput "Elapsed time:" into card field "time"---- remember the starting time--put the ticks into startTime---- this is the section of code to be timed-- (all it does is count to 100 in the message box)--put 0 into message boxrepeat 100 timesset the cursor to busyadd 1 to message boxend repeat---- record the elapsed time and display it, in ticks and seconds--put the ticks - startTime into elapsedTimeInTicksput elapsedTimeInTicks & " ticks" into line 2 of card field "time"put elapsedTimeInTicks / 60 into elapsedTimeInSecondsset numberFormat to "0.0"  -- display with one decimal placeput elapsedTimeInSeconds & " sec" into line 3 of card field "time"end mouseUp</script>
  8180.     </part>
  8181.     <part>
  8182.         <id>4</id>
  8183.         <type>button</type>
  8184.         <visible> <true /> </visible>
  8185.         <reserved5> 0 </reserved5>
  8186.         <reserved4> 0 </reserved4>
  8187.         <reserved3> 0 </reserved3>
  8188.         <reserved2> 0 </reserved2>
  8189.         <reserved1> 0 </reserved1>
  8190.         <enabled> <true /> </enabled>
  8191.         <rect>
  8192.             <left>308</left>
  8193.             <top>217</top>
  8194.             <right>442</right>
  8195.             <bottom>239</bottom>
  8196.         </rect>
  8197.         <style>roundrect</style>
  8198.         <showName> <true /> </showName>
  8199.         <highlight> <false /> </highlight>
  8200.         <autoHighlight> <true /> </autoHighlight>
  8201.         <sharedHighlight> <true /> </sharedHighlight>
  8202.         <family>0</family>
  8203.         <titleWidth>0</titleWidth>
  8204.         <icon>0</icon>
  8205.         <textAlign>center</textAlign>
  8206.         <font>Chicago</font>
  8207.         <textSize>12</textSize>
  8208.         <textStyle>plain</textStyle>
  8209.         <name>Your Experiment</name>
  8210.         <script>-- This is a copy of the "Timing Test" button script.-- Try modifying the middle section and see what results you get.on mouseUpput "Elapsed time:" into card field "time"---- remember the starting time--put the ticks into startTime---- this is the section of code to be timed-- ‚Ä¢‚Ä¢‚Ä¢ this is the section of code you can modify ‚Ä¢‚Ä¢‚Ä¢ ----put 0 into message boxrepeat 100 timesset the cursor to busyadd 1 to message boxend repeat---- record the elapsed time and display it, in ticks and seconds--put the ticks - startTime into elapsedTimeInTicksput elapsedTimeInTicks & " ticks" into line 2 of card field "time"put elapsedTimeInTicks / 60 into elapsedTimeInSecondsset numberFormat to "0.0"  -- display with one decimal placeput elapsedTimeInSeconds & " sec" into line 3 of card field "time"end mouseUp</script>
  8211.     </part>
  8212.     <content>
  8213.         <layer>background</layer>
  8214.         <id>1</id>
  8215.         <text>Timing HyperTalk Code</text>
  8216.     </content>
  8217.     <content>
  8218.         <layer>background</layer>
  8219.         <id>13</id>
  8220.         <text><span class="style1">ometimes, you have a script that is slow, and you would like to speed it up. The first step is to time various sections of code to see how long they take; this way, you can concentrate your efforts on the sections of code that are the most time-consuming.The top button on the right contain a section of code that is timed using </span><span class="style3">the ticks</span><span class="style1"> function.               60 ticks = 1 secondTry the button and then look at its script.Use the </span><span class="style3">Your Experiment</span><span class="style1"> button to try this out for yourself.</span></text>
  8221.     </content>
  8222.     <name>Timing HyperTalk code</name>
  8223.     <script>on closeCard  -- clean upput empty into card field "time"pass closeCardend closeCard</script>
  8224. </card>
  8225.  
  8226.  
  8227. card_11282.xml
  8228. <?xml version="1.0" encoding="utf-8" ?>
  8229. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8230. <card>
  8231.     <id>11282</id>
  8232.     <filler1>0</filler1>
  8233.     <bitmap>BMAP_9526.pbm</bitmap>
  8234.     <cantDelete> <false /> </cantDelete>
  8235.     <showPict> <true /> </showPict>
  8236.     <dontSearch> <false /> </dontSearch>
  8237.     <owner>2759</owner>
  8238.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8239.     <content>
  8240.         <layer>background</layer>
  8241.         <id>1</id>
  8242.         <text>Trapping Key Shortcuts</text>
  8243.     </content>
  8244.     <content>
  8245.         <layer>background</layer>
  8246.         <id>13</id>
  8247.         <text><span class="style1">ometimes, you don't want the users of your stacks to use command-key shortcuts or arrow keys to get around, because this would by-pass your own navigation scripts.There are two handlers here which trap keyboard shortcuts.The first is a </span><span class="style3">doMenu</span><span class="style1"> handler.  It traps all menu selections done by keyboard shortcuts (for example, try CMD-2, to go to the previous card). This handler is in the </span><span class="style3">card</span><span class="style1"> scriptThe second handler traps the arrow keys.  If the arrows pressed are left or right, the handler generates a click on one of the arrow buttons at the upper right. This has the same effect as if the user had clicked on the button; it briefly inverts the button as if it had been clicked, and then runs the button's </span><span class="style3">mouseUp</span><span class="style1"> handler, including the visual effects.  This one is in the </span><span class="style3">background</span><span class="style1"> script.</span></text>
  8248.     </content>
  8249.     <name>Trapping key shortcuts</name>
  8250.     <script>on doMenuif the commandKey is downthen answer "Sorry, you can't use command shortcuts here!" with "OK"else pass doMenuend doMenu</script>
  8251. </card>
  8252.  
  8253.  
  8254. card_28692.xml
  8255. <?xml version="1.0" encoding="utf-8" ?>
  8256. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8257. <card>
  8258.     <id>28692</id>
  8259.     <filler1>0</filler1>
  8260.     <cantDelete> <false /> </cantDelete>
  8261.     <showPict> <true /> </showPict>
  8262.     <dontSearch> <false /> </dontSearch>
  8263.     <owner>2759</owner>
  8264.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8265.     <part>
  8266.         <id>1</id>
  8267.         <type>field</type>
  8268.         <visible> <true /> </visible>
  8269.         <dontWrap> <false /> </dontWrap>
  8270.         <dontSearch> <false /> </dontSearch>
  8271.         <sharedText> <false /> </sharedText>
  8272.         <fixedLineHeight> <true /> </fixedLineHeight>
  8273.         <autoTab> <true /> </autoTab>
  8274.         <lockText> <false /> </lockText>
  8275.         <rect>
  8276.             <left>318</left>
  8277.             <top>112</top>
  8278.             <right>418</right>
  8279.             <bottom>130</bottom>
  8280.         </rect>
  8281.         <style>rectangle</style>
  8282.         <autoSelect> <false /> </autoSelect>
  8283.         <showLines> <false /> </showLines>
  8284.         <wideMargins> <false /> </wideMargins>
  8285.         <multipleLines> <false /> </multipleLines>
  8286.         <reservedFamily> 0 </reservedFamily>
  8287.         <titleWidth>0</titleWidth>
  8288.         <icon>0</icon>
  8289.         <textAlign>left</textAlign>
  8290.         <font>Geneva</font>
  8291.         <textSize>12</textSize>
  8292.         <textStyle>plain</textStyle>
  8293.         <textHeight>16</textHeight>
  8294.         <name></name>
  8295.         <script>on closeFieldget checkData(me)if it is not empty thenanswer "You must enter a number in the field."select text of meend ifend closeField------------------------------------------------------------------------ This function checks that the data is not empty, and that-- it is a number.--function checkData strif length(str) = 0 then return "no data"repeat with i = 1 to length(str)if char i of str is not in "-0123456789." thenreturn "invalid char"end ifend repeatreturn emptyend checkData</script>
  8296.     </part>
  8297.     <content>
  8298.         <layer>background</layer>
  8299.         <id>1</id>
  8300.         <text>Field Validation</text>
  8301.     </content>
  8302.     <content>
  8303.         <layer>background</layer>
  8304.         <id>13</id>
  8305.         <text><span class="style1">ometimes, the user is asked to enter information in a field, and it is necessary to check that the correct information was entered.In the script of the field on the right is a </span><span class="style3">closeField</span><span class="style1"> handler which checks that the contents of the field is a </span><span class="style3">number</span><span class="style1">. The </span><span class="style3">closeField</span><span class="style1"> message is sent to a field when the user leaves the field and the contents has changed.Enter some text in the field and hit the </span><span class="style3">tab</span><span class="style1"> key to cause the </span><span class="style3">closeField</span><span class="style1"> message to be sent. Try it with a number, and with some letters.See the field script to see how this is done. Note that this script if fairly primitive, and could be enhanced.</span></text>
  8306.     </content>
  8307.     <name>Field Validation</name>
  8308.     <script>on closeCardput empty into card field 1pass closeCardend closeCard</script>
  8309. </card>
  8310.  
  8311.  
  8312. card_22595.xml
  8313. <?xml version="1.0" encoding="utf-8" ?>
  8314. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8315. <card>
  8316.     <id>22595</id>
  8317.     <filler1>0</filler1>
  8318.     <cantDelete> <false /> </cantDelete>
  8319.     <showPict> <true /> </showPict>
  8320.     <dontSearch> <false /> </dontSearch>
  8321.     <owner>2759</owner>
  8322.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8323.     <part>
  8324.         <id>1</id>
  8325.         <type>button</type>
  8326.         <visible> <true /> </visible>
  8327.         <reserved5> 0 </reserved5>
  8328.         <reserved4> 0 </reserved4>
  8329.         <reserved3> 0 </reserved3>
  8330.         <reserved2> 0 </reserved2>
  8331.         <reserved1> 0 </reserved1>
  8332.         <enabled> <true /> </enabled>
  8333.         <rect>
  8334.             <left>316</left>
  8335.             <top>93</top>
  8336.             <right>369</right>
  8337.             <bottom>136</bottom>
  8338.         </rect>
  8339.         <style>transparent</style>
  8340.         <showName> <false /> </showName>
  8341.         <highlight> <false /> </highlight>
  8342.         <autoHighlight> <false /> </autoHighlight>
  8343.         <sharedHighlight> <true /> </sharedHighlight>
  8344.         <family>0</family>
  8345.         <titleWidth>0</titleWidth>
  8346.         <icon>6179</icon>
  8347.         <textAlign>center</textAlign>
  8348.         <font>Chicago</font>
  8349.         <textSize>12</textSize>
  8350.         <textStyle>plain</textStyle>
  8351.         <name>B1</name>
  8352.         <script>-- Scripts for a button whose icon changes.-- ...by Genevi√®ve Crabeon mouseDownset the icon of me to "Ex Lge Next Hand"wait until the mouse is upset the icon of me to "Sml Next Hand"end mouseDown</script>
  8353.     </part>
  8354.     <part>
  8355.         <id>2</id>
  8356.         <type>button</type>
  8357.         <visible> <true /> </visible>
  8358.         <reserved5> 0 </reserved5>
  8359.         <reserved4> 0 </reserved4>
  8360.         <reserved3> 0 </reserved3>
  8361.         <reserved2> 0 </reserved2>
  8362.         <reserved1> 0 </reserved1>
  8363.         <enabled> <true /> </enabled>
  8364.         <rect>
  8365.             <left>404</left>
  8366.             <top>111</top>
  8367.             <right>457</right>
  8368.             <bottom>154</bottom>
  8369.         </rect>
  8370.         <style>transparent</style>
  8371.         <showName> <false /> </showName>
  8372.         <highlight> <false /> </highlight>
  8373.         <autoHighlight> <false /> </autoHighlight>
  8374.         <sharedHighlight> <true /> </sharedHighlight>
  8375.         <family>0</family>
  8376.         <titleWidth>0</titleWidth>
  8377.         <icon>17779</icon>
  8378.         <textAlign>center</textAlign>
  8379.         <font>Chicago</font>
  8380.         <textSize>12</textSize>
  8381.         <textStyle>plain</textStyle>
  8382.         <name>B2</name>
  8383.         <script>-- Scripts for a button whose icon changes.-- ...by Genevi√®ve Crabeon mouseDownset the icon of me to "Fleet Prev Arrow"wait until the mouse is upset the icon of me to "Black Prev Arrow"end mouseDown</script>
  8384.     </part>
  8385.     <part>
  8386.         <id>4</id>
  8387.         <type>button</type>
  8388.         <visible> <true /> </visible>
  8389.         <reserved5> 0 </reserved5>
  8390.         <reserved4> 0 </reserved4>
  8391.         <reserved3> 0 </reserved3>
  8392.         <reserved2> 0 </reserved2>
  8393.         <reserved1> 0 </reserved1>
  8394.         <enabled> <true /> </enabled>
  8395.         <rect>
  8396.             <left>296</left>
  8397.             <top>165</top>
  8398.             <right>349</right>
  8399.             <bottom>208</bottom>
  8400.         </rect>
  8401.         <style>transparent</style>
  8402.         <showName> <false /> </showName>
  8403.         <highlight> <false /> </highlight>
  8404.         <autoHighlight> <false /> </autoHighlight>
  8405.         <sharedHighlight> <true /> </sharedHighlight>
  8406.         <family>0</family>
  8407.         <titleWidth>0</titleWidth>
  8408.         <icon>1018</icon>
  8409.         <textAlign>center</textAlign>
  8410.         <font>Chicago</font>
  8411.         <textSize>12</textSize>
  8412.         <textStyle>plain</textStyle>
  8413.         <name>B4</name>
  8414.         <script>-- Scripts for a button whose icon changes.-- ...by Genevi√®ve Crabeon mouseDownset the icon of me to "Compass"wait until the mouse is upset the icon of me to "Marker Cross"end mouseDown</script>
  8415.     </part>
  8416.     <part>
  8417.         <id>5</id>
  8418.         <type>button</type>
  8419.         <visible> <true /> </visible>
  8420.         <reserved5> 0 </reserved5>
  8421.         <reserved4> 0 </reserved4>
  8422.         <reserved3> 0 </reserved3>
  8423.         <reserved2> 0 </reserved2>
  8424.         <reserved1> 0 </reserved1>
  8425.         <enabled> <true /> </enabled>
  8426.         <rect>
  8427.             <left>390</left>
  8428.             <top>198</top>
  8429.             <right>443</right>
  8430.             <bottom>241</bottom>
  8431.         </rect>
  8432.         <style>transparent</style>
  8433.         <showName> <false /> </showName>
  8434.         <highlight> <false /> </highlight>
  8435.         <autoHighlight> <false /> </autoHighlight>
  8436.         <sharedHighlight> <true /> </sharedHighlight>
  8437.         <family>0</family>
  8438.         <titleWidth>0</titleWidth>
  8439.         <icon>1015</icon>
  8440.         <textAlign>center</textAlign>
  8441.         <font>Chicago</font>
  8442.         <textSize>12</textSize>
  8443.         <textStyle>plain</textStyle>
  8444.         <name>B5</name>
  8445.         <script>-- Scripts for a button whose icon changes.-- ...by Genevi√®ve Crabeon mouseDownset the icon of me to "Bill"wait until the mouse is upset the icon of me to "Small Button"end mouseDown</script>
  8446.     </part>
  8447.     <content>
  8448.         <layer>background</layer>
  8449.         <id>1</id>
  8450.         <text>Animation with Icons (1 of 5)</text>
  8451.     </content>
  8452.     <content>
  8453.         <layer>background</layer>
  8454.         <id>13</id>
  8455.         <text><span class="style1">t is possible to create an animated button by simply changing its icon.The buttons on the right have a script which changes the </span><span class="style3">icon</span><span class="style1"> when you click, and changes the icon back when you release the mouse button.Click and hold the mouse button on each of them to try them out.  See the button scripts to see how they work.All the icons used here are standard HyperCard icons.  You can achieve even more interesting effects by creating custom icons.Note that these scripts illustrate the use of </span><span class="style3">me</span><span class="style1"> to refer, in a script, to the object which contains the script which is running.</span></text>
  8456.     </content>
  8457.     <name>Animation with icons</name>
  8458.     <script></script>
  8459. </card>
  8460.  
  8461.  
  8462. card_12408.xml
  8463. <?xml version="1.0" encoding="utf-8" ?>
  8464. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8465. <card>
  8466.     <id>12408</id>
  8467.     <filler1>0</filler1>
  8468.     <cantDelete> <false /> </cantDelete>
  8469.     <showPict> <true /> </showPict>
  8470.     <dontSearch> <false /> </dontSearch>
  8471.     <owner>2759</owner>
  8472.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8473.     <part>
  8474.         <id>7</id>
  8475.         <type>button</type>
  8476.         <visible> <true /> </visible>
  8477.         <reserved5> 0 </reserved5>
  8478.         <reserved4> 0 </reserved4>
  8479.         <reserved3> 0 </reserved3>
  8480.         <reserved2> 0 </reserved2>
  8481.         <reserved1> 0 </reserved1>
  8482.         <enabled> <true /> </enabled>
  8483.         <rect>
  8484.             <left>287</left>
  8485.             <top>76</top>
  8486.             <right>364</right>
  8487.             <bottom>134</bottom>
  8488.         </rect>
  8489.         <style>rectangle</style>
  8490.         <showName> <false /> </showName>
  8491.         <highlight> <false /> </highlight>
  8492.         <autoHighlight> <false /> </autoHighlight>
  8493.         <sharedHighlight> <true /> </sharedHighlight>
  8494.         <family>0</family>
  8495.         <titleWidth>0</titleWidth>
  8496.         <icon>21573</icon>
  8497.         <textAlign>center</textAlign>
  8498.         <font>Chicago</font>
  8499.         <textSize>12</textSize>
  8500.         <textStyle>plain</textStyle>
  8501.         <name>juggler</name>
  8502.         <script>-- Animated juggler icon ...by Genevi√®ve Crabeon mouseDown---- these are the names of the icons in the sequence--put "Juggler 1,Juggler 2,Juggler 3,Juggler 4" into iconList---- keep going while mouse is down--repeat until the mouse is up  -- keep going while mouse is down---- cycle through the icons--repeat with i = 1 to the number of items in iconList-- change the icon and wait for a bitset the icon of me to item i of iconListwait for 10 ticksend repeatend repeatend mouseDown</script>
  8503.     </part>
  8504.     <part>
  8505.         <id>8</id>
  8506.         <type>button</type>
  8507.         <visible> <true /> </visible>
  8508.         <reserved5> 0 </reserved5>
  8509.         <reserved4> 0 </reserved4>
  8510.         <reserved3> 0 </reserved3>
  8511.         <reserved2> 0 </reserved2>
  8512.         <reserved1> 0 </reserved1>
  8513.         <enabled> <true /> </enabled>
  8514.         <rect>
  8515.             <left>388</left>
  8516.             <top>132</top>
  8517.             <right>465</right>
  8518.             <bottom>190</bottom>
  8519.         </rect>
  8520.         <style>rectangle</style>
  8521.         <showName> <false /> </showName>
  8522.         <highlight> <false /> </highlight>
  8523.         <autoHighlight> <false /> </autoHighlight>
  8524.         <sharedHighlight> <true /> </sharedHighlight>
  8525.         <family>0</family>
  8526.         <titleWidth>0</titleWidth>
  8527.         <icon>19321</icon>
  8528.         <textAlign>center</textAlign>
  8529.         <font>Chicago</font>
  8530.         <textSize>12</textSize>
  8531.         <textStyle>plain</textStyle>
  8532.         <name>world</name>
  8533.         <script>-- Animated globe icon ...by Genevi√®ve Crabeon mouseDown---- these are the names of the icons in the sequence--put "world 1,world 2,world 3,world 4" into iconList---- keep going while mouse is down--repeat until the mouse is up---- cycle through the icons--repeat with i = 1 to the number of items in iconList-- change the iconset the icon of me to item i of iconListwait for 10 ticksend repeatend repeatend mouseDown</script>
  8534.     </part>
  8535.     <part>
  8536.         <id>9</id>
  8537.         <type>button</type>
  8538.         <visible> <true /> </visible>
  8539.         <reserved5> 0 </reserved5>
  8540.         <reserved4> 0 </reserved4>
  8541.         <reserved3> 0 </reserved3>
  8542.         <reserved2> 0 </reserved2>
  8543.         <reserved1> 0 </reserved1>
  8544.         <enabled> <true /> </enabled>
  8545.         <rect>
  8546.             <left>295</left>
  8547.             <top>209</top>
  8548.             <right>372</right>
  8549.             <bottom>267</bottom>
  8550.         </rect>
  8551.         <style>rectangle</style>
  8552.         <showName> <false /> </showName>
  8553.         <highlight> <false /> </highlight>
  8554.         <autoHighlight> <false /> </autoHighlight>
  8555.         <sharedHighlight> <true /> </sharedHighlight>
  8556.         <family>0</family>
  8557.         <titleWidth>0</titleWidth>
  8558.         <icon>23376</icon>
  8559.         <textAlign>center</textAlign>
  8560.         <font>Chicago</font>
  8561.         <textSize>12</textSize>
  8562.         <textStyle>plain</textStyle>
  8563.         <name>doc</name>
  8564.         <script>-- Animated document icon ...by Genevi√®ve Crabe--on mouseDown---- keep going while mouse is down--repeat until the mouse is up---- cycle through the icons--repeat with i = 1 to 11-- change the icon-- the icon names are "Doc1", "Doc2", etc.set the icon of me to ("Doc" && i)wait for 10 ticksend repeatend repeatend mouseDown</script>
  8565.     </part>
  8566.     <content>
  8567.         <layer>background</layer>
  8568.         <id>1</id>
  8569.         <text>Animation with Icons (2 of 5)</text>
  8570.     </content>
  8571.     <content>
  8572.         <layer>background</layer>
  8573.         <id>13</id>
  8574.         <text>More animated icons.These buttons cycle through several icons when you hold down the mouse button.The icons used here are stored in this stack.</text>
  8575.     </content>
  8576.     <name></name>
  8577.     <script>on closeCardset the icon of cd btn "juggler" to "Juggler 1"set the icon of cd btn "doc" to "Doc 1"set the icon of cd btn "world" to "world 1"pass closeCardend closeCard</script>
  8578. </card>
  8579.  
  8580.  
  8581. card_29196.xml
  8582. <?xml version="1.0" encoding="utf-8" ?>
  8583. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8584. <card>
  8585.     <id>29196</id>
  8586.     <filler1>0</filler1>
  8587.     <cantDelete> <false /> </cantDelete>
  8588.     <showPict> <true /> </showPict>
  8589.     <dontSearch> <false /> </dontSearch>
  8590.     <owner>2759</owner>
  8591.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8592.     <part>
  8593.         <id>10</id>
  8594.         <type>button</type>
  8595.         <visible> <true /> </visible>
  8596.         <reserved5> 0 </reserved5>
  8597.         <reserved4> 0 </reserved4>
  8598.         <reserved3> 0 </reserved3>
  8599.         <reserved2> 0 </reserved2>
  8600.         <reserved1> 0 </reserved1>
  8601.         <enabled> <true /> </enabled>
  8602.         <rect>
  8603.             <left>406</left>
  8604.             <top>117</top>
  8605.             <right>452</right>
  8606.             <bottom>160</bottom>
  8607.         </rect>
  8608.         <style>transparent</style>
  8609.         <showName> <false /> </showName>
  8610.         <highlight> <false /> </highlight>
  8611.         <autoHighlight> <false /> </autoHighlight>
  8612.         <sharedHighlight> <true /> </sharedHighlight>
  8613.         <family>0</family>
  8614.         <titleWidth>0</titleWidth>
  8615.         <icon>23555</icon>
  8616.         <textAlign>center</textAlign>
  8617.         <font>Chicago</font>
  8618.         <textSize>12</textSize>
  8619.         <textStyle>plain</textStyle>
  8620.         <name></name>
  8621.         <script>-- The two icons that make up the toggle are 23555 and 23556--on mouseUpplay "click"if the icon of me is 23555 then set the icon of me to 23556else set the icon of me to 23555end mouseUp</script>
  8622.     </part>
  8623.     <part>
  8624.         <id>13</id>
  8625.         <type>button</type>
  8626.         <visible> <true /> </visible>
  8627.         <reserved5> 0 </reserved5>
  8628.         <reserved4> 0 </reserved4>
  8629.         <reserved3> 0 </reserved3>
  8630.         <reserved2> 0 </reserved2>
  8631.         <reserved1> 0 </reserved1>
  8632.         <enabled> <true /> </enabled>
  8633.         <rect>
  8634.             <left>310</left>
  8635.             <top>84</top>
  8636.             <right>359</right>
  8637.             <bottom>129</bottom>
  8638.         </rect>
  8639.         <style>transparent</style>
  8640.         <showName> <false /> </showName>
  8641.         <highlight> <false /> </highlight>
  8642.         <autoHighlight> <false /> </autoHighlight>
  8643.         <sharedHighlight> <true /> </sharedHighlight>
  8644.         <family>0</family>
  8645.         <titleWidth>0</titleWidth>
  8646.         <icon>27211</icon>
  8647.         <textAlign>center</textAlign>
  8648.         <font>Chicago</font>
  8649.         <textSize>12</textSize>
  8650.         <textStyle>plain</textStyle>
  8651.         <name></name>
  8652.         <script>-- The two icons that make up the toggle are 27210 and 27211--on mouseUpplay "click"if the icon of me is 27210 then set the icon of me to 27211else set the icon of me to 27210end mouseUp</script>
  8653.     </part>
  8654.     <part>
  8655.         <id>14</id>
  8656.         <type>button</type>
  8657.         <visible> <true /> </visible>
  8658.         <reserved5> 0 </reserved5>
  8659.         <reserved4> 0 </reserved4>
  8660.         <reserved3> 0 </reserved3>
  8661.         <reserved2> 0 </reserved2>
  8662.         <reserved1> 0 </reserved1>
  8663.         <enabled> <true /> </enabled>
  8664.         <rect>
  8665.             <left>287</left>
  8666.             <top>160</top>
  8667.             <right>339</right>
  8668.             <bottom>210</bottom>
  8669.         </rect>
  8670.         <style>transparent</style>
  8671.         <showName> <false /> </showName>
  8672.         <highlight> <false /> </highlight>
  8673.         <autoHighlight> <false /> </autoHighlight>
  8674.         <sharedHighlight> <true /> </sharedHighlight>
  8675.         <family>0</family>
  8676.         <titleWidth>0</titleWidth>
  8677.         <icon>10010</icon>
  8678.         <textAlign>center</textAlign>
  8679.         <font>Chicago</font>
  8680.         <textSize>12</textSize>
  8681.         <textStyle>plain</textStyle>
  8682.         <name></name>
  8683.         <script>-- The two icons that make up the toggle are 10009 and 10010--on mouseUpif the icon of me is 10009 then set the icon of me to 10010else set the icon of me to 10009end mouseUp</script>
  8684.     </part>
  8685.     <part>
  8686.         <id>15</id>
  8687.         <type>button</type>
  8688.         <visible> <true /> </visible>
  8689.         <reserved5> 0 </reserved5>
  8690.         <reserved4> 0 </reserved4>
  8691.         <reserved3> 0 </reserved3>
  8692.         <reserved2> 0 </reserved2>
  8693.         <reserved1> 0 </reserved1>
  8694.         <enabled> <true /> </enabled>
  8695.         <rect>
  8696.             <left>386</left>
  8697.             <top>209</top>
  8698.             <right>438</right>
  8699.             <bottom>259</bottom>
  8700.         </rect>
  8701.         <style>transparent</style>
  8702.         <showName> <false /> </showName>
  8703.         <highlight> <false /> </highlight>
  8704.         <autoHighlight> <false /> </autoHighlight>
  8705.         <sharedHighlight> <true /> </sharedHighlight>
  8706.         <family>0</family>
  8707.         <titleWidth>0</titleWidth>
  8708.         <icon>10013</icon>
  8709.         <textAlign>center</textAlign>
  8710.         <font>Chicago</font>
  8711.         <textSize>12</textSize>
  8712.         <textStyle>plain</textStyle>
  8713.         <name></name>
  8714.         <script>-- The two icons that make up the toggle are 10012 and 10013--on mouseUpplay "boing"if the icon of me is 10012 then set the icon of me to 10013else set the icon of me to 10012end mouseUp</script>
  8715.     </part>
  8716.     <content>
  8717.         <layer>background</layer>
  8718.         <id>1</id>
  8719.         <text>Animation with Icons (3 of 5)</text>
  8720.     </content>
  8721.     <content>
  8722.         <layer>background</layer>
  8723.         <id>13</id>
  8724.         <text><span class="style1">oggles.These buttons switch icons every time they are clicked.Some of them have added sound effects. The </span><span class="style3">boing</span><span class="style1"> sound is built-into HyperCard; the </span><span class="style3">click</span><span class="style1"> sound is in this stack.See the card scripts.The icons used here are stored in this stack.</span></text>
  8725.     </content>
  8726.     <name></name>
  8727.     <script></script>
  8728. </card>
  8729.  
  8730.  
  8731. card_24241.xml
  8732. <?xml version="1.0" encoding="utf-8" ?>
  8733. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8734. <card>
  8735.     <id>24241</id>
  8736.     <filler1>0</filler1>
  8737.     <bitmap>BMAP_25129.pbm</bitmap>
  8738.     <cantDelete> <false /> </cantDelete>
  8739.     <showPict> <true /> </showPict>
  8740.     <dontSearch> <false /> </dontSearch>
  8741.     <owner>2759</owner>
  8742.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8743.     <part>
  8744.         <id>10</id>
  8745.         <type>button</type>
  8746.         <visible> <true /> </visible>
  8747.         <reserved5> 0 </reserved5>
  8748.         <reserved4> 0 </reserved4>
  8749.         <reserved3> 0 </reserved3>
  8750.         <reserved2> 0 </reserved2>
  8751.         <reserved1> 0 </reserved1>
  8752.         <enabled> <true /> </enabled>
  8753.         <rect>
  8754.             <left>324</left>
  8755.             <top>64</top>
  8756.             <right>400</right>
  8757.             <bottom>86</bottom>
  8758.         </rect>
  8759.         <style>roundrect</style>
  8760.         <showName> <true /> </showName>
  8761.         <highlight> <false /> </highlight>
  8762.         <autoHighlight> <true /> </autoHighlight>
  8763.         <sharedHighlight> <true /> </sharedHighlight>
  8764.         <family>0</family>
  8765.         <titleWidth>0</titleWidth>
  8766.         <icon>0</icon>
  8767.         <textAlign>center</textAlign>
  8768.         <font>Chicago</font>
  8769.         <textSize>12</textSize>
  8770.         <textStyle>plain</textStyle>
  8771.         <name>Animate</name>
  8772.         <script>-- Animated fish . . . by Genevi√®ve Crabeon mouseUp---- the first icon (the button is invisible right now)--set the icon of card button "Fish" to "Fish 1"---- move to the start position and show the button--moveFish "298,246"show card button "Fish"---- move the button towards the upper right--moveFish "307,227"moveFish "310,204"moveFish "322,190"moveFish "327,172"moveFish "338,159"---- change to the second icon--set the icon of card button "Fish" to "Fish 2"---- move the button horizontally--moveFish "345,159"moveFish "355,159"---- change to the third icon--set the icon of card button "Fish" to "Fish 3"---- move the button towards the lower right--moveFish "363,159"moveFish "374,174"moveFish "394,190"moveFish "401,206"moveFish "405,215"moveFish "410,225"moveFish "410,240"---- hide the button--hide card button "Fish"end mouseUp-------------------------------------------------------------- Call this handler to move the button to a new location,-- and delay by 1/6 second (otherwise it moves too fast).--on moveFish newLocset the loc of card button "Fish" to newLocwait for 10 ticksend moveFish</script>
  8773.     </part>
  8774.     <part>
  8775.         <id>11</id>
  8776.         <type>button</type>
  8777.         <visible> <false /> </visible>
  8778.         <reserved5> 0 </reserved5>
  8779.         <reserved4> 0 </reserved4>
  8780.         <reserved3> 0 </reserved3>
  8781.         <reserved2> 0 </reserved2>
  8782.         <reserved1> 0 </reserved1>
  8783.         <enabled> <true /> </enabled>
  8784.         <rect>
  8785.             <left>393</left>
  8786.             <top>223</top>
  8787.             <right>427</right>
  8788.             <bottom>257</bottom>
  8789.         </rect>
  8790.         <style>transparent</style>
  8791.         <showName> <false /> </showName>
  8792.         <highlight> <false /> </highlight>
  8793.         <autoHighlight> <false /> </autoHighlight>
  8794.         <sharedHighlight> <true /> </sharedHighlight>
  8795.         <family>0</family>
  8796.         <titleWidth>0</titleWidth>
  8797.         <icon>11531</icon>
  8798.         <textAlign>center</textAlign>
  8799.         <font>Chicago</font>
  8800.         <textSize>12</textSize>
  8801.         <textStyle>plain</textStyle>
  8802.         <name>fish</name>
  8803.         <script></script>
  8804.     </part>
  8805.     <part>
  8806.         <id>12</id>
  8807.         <type>button</type>
  8808.         <visible> <true /> </visible>
  8809.         <reserved5> 0 </reserved5>
  8810.         <reserved4> 0 </reserved4>
  8811.         <reserved3> 0 </reserved3>
  8812.         <reserved2> 0 </reserved2>
  8813.         <reserved1> 0 </reserved1>
  8814.         <enabled> <true /> </enabled>
  8815.         <rect>
  8816.             <left>33</left>
  8817.             <top>130</top>
  8818.             <right>71</right>
  8819.             <bottom>164</bottom>
  8820.         </rect>
  8821.         <style>transparent</style>
  8822.         <showName> <false /> </showName>
  8823.         <highlight> <false /> </highlight>
  8824.         <autoHighlight> <false /> </autoHighlight>
  8825.         <sharedHighlight> <true /> </sharedHighlight>
  8826.         <family>0</family>
  8827.         <titleWidth>0</titleWidth>
  8828.         <icon>11529</icon>
  8829.         <textAlign>center</textAlign>
  8830.         <font>Chicago</font>
  8831.         <textSize>12</textSize>
  8832.         <textStyle>plain</textStyle>
  8833.         <name></name>
  8834.         <script></script>
  8835.     </part>
  8836.     <part>
  8837.         <id>13</id>
  8838.         <type>button</type>
  8839.         <visible> <true /> </visible>
  8840.         <reserved5> 0 </reserved5>
  8841.         <reserved4> 0 </reserved4>
  8842.         <reserved3> 0 </reserved3>
  8843.         <reserved2> 0 </reserved2>
  8844.         <reserved1> 0 </reserved1>
  8845.         <enabled> <true /> </enabled>
  8846.         <rect>
  8847.             <left>91</left>
  8848.             <top>129</top>
  8849.             <right>129</right>
  8850.             <bottom>163</bottom>
  8851.         </rect>
  8852.         <style>transparent</style>
  8853.         <showName> <false /> </showName>
  8854.         <highlight> <false /> </highlight>
  8855.         <autoHighlight> <false /> </autoHighlight>
  8856.         <sharedHighlight> <true /> </sharedHighlight>
  8857.         <family>0</family>
  8858.         <titleWidth>0</titleWidth>
  8859.         <icon>11530</icon>
  8860.         <textAlign>center</textAlign>
  8861.         <font>Chicago</font>
  8862.         <textSize>12</textSize>
  8863.         <textStyle>plain</textStyle>
  8864.         <name></name>
  8865.         <script></script>
  8866.     </part>
  8867.     <part>
  8868.         <id>14</id>
  8869.         <type>button</type>
  8870.         <visible> <true /> </visible>
  8871.         <reserved5> 0 </reserved5>
  8872.         <reserved4> 0 </reserved4>
  8873.         <reserved3> 0 </reserved3>
  8874.         <reserved2> 0 </reserved2>
  8875.         <reserved1> 0 </reserved1>
  8876.         <enabled> <true /> </enabled>
  8877.         <rect>
  8878.             <left>148</left>
  8879.             <top>129</top>
  8880.             <right>186</right>
  8881.             <bottom>163</bottom>
  8882.         </rect>
  8883.         <style>transparent</style>
  8884.         <showName> <false /> </showName>
  8885.         <highlight> <false /> </highlight>
  8886.         <autoHighlight> <false /> </autoHighlight>
  8887.         <sharedHighlight> <true /> </sharedHighlight>
  8888.         <family>0</family>
  8889.         <titleWidth>0</titleWidth>
  8890.         <icon>11531</icon>
  8891.         <textAlign>center</textAlign>
  8892.         <font>Chicago</font>
  8893.         <textSize>12</textSize>
  8894.         <textStyle>plain</textStyle>
  8895.         <name></name>
  8896.         <script></script>
  8897.     </part>
  8898.     <content>
  8899.         <layer>background</layer>
  8900.         <id>1</id>
  8901.         <text>Animation with Icons (4 of 5)</text>
  8902.     </content>
  8903.     <content>
  8904.         <layer>background</layer>
  8905.         <id>13</id>
  8906.         <text><span class="style1">his animation is done by moving a button, and changing its icon as it moves. There are three icons called </span><span class="style3">Fish 1</span><span class="style1">, </span><span class="style3">Fish 2</span><span class="style1">, and </span><span class="style3">Fish 3</span><span class="style1">:The button is moved, with the icon changing at the appropriate times.See the script of the </span><span class="style3">Animate</span><span class="style1"> button.</span></text>
  8907.     </content>
  8908.     <name></name>
  8909.     <script></script>
  8910. </card>
  8911.  
  8912.  
  8913. card_29982.xml
  8914. <?xml version="1.0" encoding="utf-8" ?>
  8915. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8916. <card>
  8917.     <id>29982</id>
  8918.     <filler1>0</filler1>
  8919.     <bitmap>BMAP_30804.pbm</bitmap>
  8920.     <cantDelete> <false /> </cantDelete>
  8921.     <showPict> <true /> </showPict>
  8922.     <dontSearch> <false /> </dontSearch>
  8923.     <owner>2759</owner>
  8924.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  8925.     <part>
  8926.         <id>1</id>
  8927.         <type>button</type>
  8928.         <visible> <true /> </visible>
  8929.         <reserved5> 0 </reserved5>
  8930.         <reserved4> 0 </reserved4>
  8931.         <reserved3> 0 </reserved3>
  8932.         <reserved2> 0 </reserved2>
  8933.         <reserved1> 0 </reserved1>
  8934.         <enabled> <true /> </enabled>
  8935.         <rect>
  8936.             <left>317</left>
  8937.             <top>68</top>
  8938.             <right>439</right>
  8939.             <bottom>90</bottom>
  8940.         </rect>
  8941.         <style>roundrect</style>
  8942.         <showName> <true /> </showName>
  8943.         <highlight> <false /> </highlight>
  8944.         <autoHighlight> <true /> </autoHighlight>
  8945.         <sharedHighlight> <true /> </sharedHighlight>
  8946.         <family>0</family>
  8947.         <titleWidth>0</titleWidth>
  8948.         <icon>0</icon>
  8949.         <textAlign>center</textAlign>
  8950.         <font>Chicago</font>
  8951.         <textSize>12</textSize>
  8952.         <textStyle>plain</textStyle>
  8953.         <name>Play Animation</name>
  8954.         <script>-- Cursor animation,-- . . . by Genevi√®ve Crabe--on mouseUpset the cursor to watchset the cantAbort of this stack to trueput the loc of card button "cursorBtn" into savedLoc---- show fake dialog (hide opaque field) and cursor button--hide card field "cover"show card button "cursorBtn"wait for 30 ticks---- calculate points on the path to the OK button--put linePoints (the loc of cd btn "cursorBtn", ¬¨the loc of cd btn "OK") into pts---- move the cursor button along the path--repeat with i = 1 to the number of lines in ptsset the loc of cd btn "cursorBtn" to line i of ptswait for 5 ticksend repeat---- play the click sound and highlight the button--wait for 30 ticksplay "click"set the hilite of cd btn "OK" to truewait for 20 ticksplay "click"set the hilite of cd btn "OK" to falsewait for 60 ticks---- finish--show card field "cover"hide card button "cursorBtn"set the loc of card button "cursorBtn" to savedLocset the cantAbort of this stack to falseend mouseUp------------------------------------------------------------------------ Given two points, return a list of intermediate points to create-- a path for animation.function linePoints loc1, loc2put item 1 of loc1 into h1put item 2 of loc1 into v1put item 1 of loc2 into h2put item 2 of loc2 into v2put (h2 - h1) into dh  -- horizontal distanceput (v2 - v1) into dv  -- vertical distanceput 15 into numSteps   -- number of stepsput dh div numSteps into hStepput dv div numSteps into vStep--put h1 & "," & v1 into ptListrepeat (numSteps - 1) timesadd hStep to h1add vStep to v1put return & h1 & "," & v1 after ptListend repeatput return & h2 & "," & v2 after ptListreturn ptListend linePoints</script>
  8955.     </part>
  8956.     <part>
  8957.         <id>2</id>
  8958.         <type>button</type>
  8959.         <visible> <true /> </visible>
  8960.         <reserved5> 0 </reserved5>
  8961.         <reserved4> 0 </reserved4>
  8962.         <reserved3> 0 </reserved3>
  8963.         <reserved2> 0 </reserved2>
  8964.         <reserved1> 0 </reserved1>
  8965.         <enabled> <true /> </enabled>
  8966.         <rect>
  8967.             <left>404</left>
  8968.             <top>190</top>
  8969.             <right>481</right>
  8970.             <bottom>218</bottom>
  8971.         </rect>
  8972.         <style>default</style>
  8973.         <showName> <true /> </showName>
  8974.         <highlight> <false /> </highlight>
  8975.         <autoHighlight> <true /> </autoHighlight>
  8976.         <sharedHighlight> <true /> </sharedHighlight>
  8977.         <family>0</family>
  8978.         <titleWidth>0</titleWidth>
  8979.         <icon>0</icon>
  8980.         <textAlign>center</textAlign>
  8981.         <font>Chicago</font>
  8982.         <textSize>12</textSize>
  8983.         <textStyle>plain</textStyle>
  8984.         <name>OK</name>
  8985.         <script></script>
  8986.     </part>
  8987.     <part>
  8988.         <id>4</id>
  8989.         <type>button</type>
  8990.         <visible> <true /> </visible>
  8991.         <reserved5> 0 </reserved5>
  8992.         <reserved4> 0 </reserved4>
  8993.         <reserved3> 0 </reserved3>
  8994.         <reserved2> 0 </reserved2>
  8995.         <reserved1> 0 </reserved1>
  8996.         <enabled> <true /> </enabled>
  8997.         <rect>
  8998.             <left>321</left>
  8999.             <top>194</top>
  9000.             <right>397</right>
  9001.             <bottom>214</bottom>
  9002.         </rect>
  9003.         <style>standard</style>
  9004.         <showName> <true /> </showName>
  9005.         <highlight> <false /> </highlight>
  9006.         <autoHighlight> <true /> </autoHighlight>
  9007.         <sharedHighlight> <true /> </sharedHighlight>
  9008.         <family>0</family>
  9009.         <titleWidth>0</titleWidth>
  9010.         <icon>0</icon>
  9011.         <textAlign>center</textAlign>
  9012.         <font>Chicago</font>
  9013.         <textSize>12</textSize>
  9014.         <textStyle>plain</textStyle>
  9015.         <name>Cancel</name>
  9016.         <script></script>
  9017.     </part>
  9018.     <part>
  9019.         <id>5</id>
  9020.         <type>field</type>
  9021.         <visible> <true /> </visible>
  9022.         <dontWrap> <false /> </dontWrap>
  9023.         <dontSearch> <false /> </dontSearch>
  9024.         <sharedText> <false /> </sharedText>
  9025.         <fixedLineHeight> <false /> </fixedLineHeight>
  9026.         <autoTab> <false /> </autoTab>
  9027.         <lockText> <true /> </lockText>
  9028.         <rect>
  9029.             <left>257</left>
  9030.             <top>122</top>
  9031.             <right>498</right>
  9032.             <bottom>235</bottom>
  9033.         </rect>
  9034.         <style>opaque</style>
  9035.         <autoSelect> <false /> </autoSelect>
  9036.         <showLines> <false /> </showLines>
  9037.         <wideMargins> <false /> </wideMargins>
  9038.         <multipleLines> <false /> </multipleLines>
  9039.         <reservedFamily> 0 </reservedFamily>
  9040.         <titleWidth>0</titleWidth>
  9041.         <icon>0</icon>
  9042.         <textAlign>left</textAlign>
  9043.         <font>Geneva</font>
  9044.         <textSize>12</textSize>
  9045.         <textStyle>plain</textStyle>
  9046.         <textHeight>16</textHeight>
  9047.         <name>cover</name>
  9048.         <script></script>
  9049.     </part>
  9050.     <part>
  9051.         <id>6</id>
  9052.         <type>button</type>
  9053.         <visible> <false /> </visible>
  9054.         <reserved5> 0 </reserved5>
  9055.         <reserved4> 0 </reserved4>
  9056.         <reserved3> 0 </reserved3>
  9057.         <reserved2> 0 </reserved2>
  9058.         <reserved1> 0 </reserved1>
  9059.         <enabled> <true /> </enabled>
  9060.         <rect>
  9061.             <left>267</left>
  9062.             <top>283</top>
  9063.             <right>289</right>
  9064.             <bottom>316</bottom>
  9065.         </rect>
  9066.         <style>transparent</style>
  9067.         <showName> <false /> </showName>
  9068.         <highlight> <false /> </highlight>
  9069.         <autoHighlight> <false /> </autoHighlight>
  9070.         <sharedHighlight> <true /> </sharedHighlight>
  9071.         <family>0</family>
  9072.         <titleWidth>0</titleWidth>
  9073.         <icon>10510</icon>
  9074.         <textAlign>center</textAlign>
  9075.         <font>Chicago</font>
  9076.         <textSize>12</textSize>
  9077.         <textStyle>plain</textStyle>
  9078.         <name>cursorBtn</name>
  9079.         <script></script>
  9080.     </part>
  9081.     <content>
  9082.         <layer>background</layer>
  9083.         <id>1</id>
  9084.         <text>Animation with Icons (5 of 5)</text>
  9085.     </content>
  9086.     <content>
  9087.         <layer>background</layer>
  9088.         <id>13</id>
  9089.         <text><span class="style1">his is a more complex animation sequence, which is useful of you want to show an animation of the Mac interface.Click the </span><span class="style3">Play Animation</span><span class="style1"> button to see the animation.This animation uses a button whose icon looks like the arrow cursor, to simulate the cursor. It also uses graphics to simulate a dialog box (the fake dialog is hidden by an opaque field).The animation moves along a path from its initial position to the OK button; to accomplish this, it uses a function that calculates a series of intermediate points and moves the cursor button gradually on the path.When the cursor button gets to the OK button, the mouse click is simulated by playing a click sound, and briefly highlighting the OK button, as would happen when the button is clicked.See the </span><span class="style3">Play Animation</span><span class="style1"> button script for more details.You'll notice that the script uses the </span><span class="style3">cantAbort</span><span class="style1"> property. This prevents the user from interrupting the animation by hitting cmd-period. Note that this property should be used with care.</span></text>
  9090.     </content>
  9091.     <name></name>
  9092.     <script></script>
  9093. </card>
  9094.  
  9095.  
  9096. card_25396.xml
  9097. <?xml version="1.0" encoding="utf-8" ?>
  9098. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9099. <card>
  9100.     <id>25396</id>
  9101.     <filler1>0</filler1>
  9102.     <cantDelete> <false /> </cantDelete>
  9103.     <showPict> <true /> </showPict>
  9104.     <dontSearch> <false /> </dontSearch>
  9105.     <owner>2759</owner>
  9106.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9107.     <part>
  9108.         <id>1</id>
  9109.         <type>button</type>
  9110.         <visible> <true /> </visible>
  9111.         <reserved5> 0 </reserved5>
  9112.         <reserved4> 0 </reserved4>
  9113.         <reserved3> 0 </reserved3>
  9114.         <reserved2> 0 </reserved2>
  9115.         <reserved1> 0 </reserved1>
  9116.         <enabled> <true /> </enabled>
  9117.         <rect>
  9118.             <left>260</left>
  9119.             <top>62</top>
  9120.             <right>349</right>
  9121.             <bottom>84</bottom>
  9122.         </rect>
  9123.         <style>roundrect</style>
  9124.         <showName> <true /> </showName>
  9125.         <highlight> <false /> </highlight>
  9126.         <autoHighlight> <true /> </autoHighlight>
  9127.         <sharedHighlight> <true /> </sharedHighlight>
  9128.         <family>0</family>
  9129.         <titleWidth>0</titleWidth>
  9130.         <icon>0</icon>
  9131.         <textAlign>center</textAlign>
  9132.         <font>Chicago</font>
  9133.         <textSize>12</textSize>
  9134.         <textStyle>plain</textStyle>
  9135.         <name>Animate</name>
  9136.         <script>-- Animate by moving a field around the screen-- ...by Ronald Wartow, modified by Genevi√®ve Crabeon mouseUpshow card field 1 at 385,120---- move the field down in 12 steps--repeat 12 timesput the location of card field 1 into fieldLocadd 15 to item 2 of fieldLoc -- item 2 is the vertical coordinateshow card field 1 at fieldLocwait for 5 tickshide card field 1end repeat---- move the field back up in 12 steps--repeat 12 timesput the location of card field 1 into fieldLocsubtract 15 from item 2 of fieldLocshow card field 1 at fieldLocwait for 5 tickshide card field 1end repeatend mouseUp</script>
  9137.     </part>
  9138.     <part>
  9139.         <id>2</id>
  9140.         <type>field</type>
  9141.         <visible> <false /> </visible>
  9142.         <dontWrap> <false /> </dontWrap>
  9143.         <dontSearch> <false /> </dontSearch>
  9144.         <sharedText> <false /> </sharedText>
  9145.         <fixedLineHeight> <true /> </fixedLineHeight>
  9146.         <autoTab> <false /> </autoTab>
  9147.         <lockText> <true /> </lockText>
  9148.         <rect>
  9149.             <left>282</left>
  9150.             <top>95</top>
  9151.             <right>489</right>
  9152.             <bottom>146</bottom>
  9153.         </rect>
  9154.         <style>transparent</style>
  9155.         <autoSelect> <false /> </autoSelect>
  9156.         <showLines> <false /> </showLines>
  9157.         <wideMargins> <false /> </wideMargins>
  9158.         <multipleLines> <false /> </multipleLines>
  9159.         <reservedFamily> 0 </reservedFamily>
  9160.         <titleWidth>0</titleWidth>
  9161.         <icon>0</icon>
  9162.         <textAlign>center</textAlign>
  9163.         <font>Geneva</font>
  9164.         <textSize>18</textSize>
  9165.         <textStyle>bold</textStyle>
  9166.         <textHeight>24</textHeight>
  9167.         <name></name>
  9168.         <script></script>
  9169.     </part>
  9170.     <content>
  9171.         <layer>background</layer>
  9172.         <id>1</id>
  9173.         <text>Animation with Fields (1 of 4)</text>
  9174.     </content>
  9175.     <content>
  9176.         <layer>background</layer>
  9177.         <id>13</id>
  9178.         <text><span class="style1">his animation is achieved by moving a field from a script.See the </span><span class="style3">Animate</span><span class="style1"> button script.</span><span class="style24">Adapted from an article by Ronald Wartow in MacWorld magazine.</span></text>
  9179.     </content>
  9180.     <content>
  9181.         <layer>card</layer>
  9182.         <id>2</id>
  9183.         <text>There's no businesslike show business</text>
  9184.     </content>
  9185.     <name>Animation with fields</name>
  9186.     <script></script>
  9187. </card>
  9188.  
  9189.  
  9190. card_26144.xml
  9191. <?xml version="1.0" encoding="utf-8" ?>
  9192. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9193. <card>
  9194.     <id>26144</id>
  9195.     <filler1>0</filler1>
  9196.     <cantDelete> <false /> </cantDelete>
  9197.     <showPict> <true /> </showPict>
  9198.     <dontSearch> <false /> </dontSearch>
  9199.     <owner>2759</owner>
  9200.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9201.     <part>
  9202.         <id>1</id>
  9203.         <type>button</type>
  9204.         <visible> <true /> </visible>
  9205.         <reserved5> 0 </reserved5>
  9206.         <reserved4> 0 </reserved4>
  9207.         <reserved3> 0 </reserved3>
  9208.         <reserved2> 0 </reserved2>
  9209.         <reserved1> 0 </reserved1>
  9210.         <enabled> <true /> </enabled>
  9211.         <rect>
  9212.             <left>286</left>
  9213.             <top>73</top>
  9214.             <right>358</right>
  9215.             <bottom>95</bottom>
  9216.         </rect>
  9217.         <style>roundrect</style>
  9218.         <showName> <true /> </showName>
  9219.         <highlight> <false /> </highlight>
  9220.         <autoHighlight> <true /> </autoHighlight>
  9221.         <sharedHighlight> <true /> </sharedHighlight>
  9222.         <family>0</family>
  9223.         <titleWidth>0</titleWidth>
  9224.         <icon>0</icon>
  9225.         <textAlign>center</textAlign>
  9226.         <font>Chicago</font>
  9227.         <textSize>12</textSize>
  9228.         <textStyle>plain</textStyle>
  9229.         <name>Type...</name>
  9230.         <script>-- Animation by typing in a fieldon mouseUpset the lockText of card field 1 to falseselect text of card field 1typeAndDelay "Apple 38.5" & return & "DEC 91" & return & "IBM 119.5"wait 1 secondselect text of card field 1typeAndDelay "Apple 80" & return & "DEC 170" & return & "IBM 150"wait 1 secondselect text of card field 1typeAndDelay "MARKET" & return & "TOPS" & return & "4000!"wait 1 secondput empty into card field 1set the lockText of card field 1 to trueend mouseUp-- This handler types a string of characters,-- with a small delay between each characteron typeAndDelay strput length(str) into n  -- number of characters in the stringrepeat with i = 1 to ntype char i of strwait for 5 ticksend repeatend typeAndDelay</script>
  9231.     </part>
  9232.     <part>
  9233.         <id>2</id>
  9234.         <type>field</type>
  9235.         <visible> <true /> </visible>
  9236.         <dontWrap> <false /> </dontWrap>
  9237.         <dontSearch> <false /> </dontSearch>
  9238.         <sharedText> <false /> </sharedText>
  9239.         <fixedLineHeight> <true /> </fixedLineHeight>
  9240.         <autoTab> <false /> </autoTab>
  9241.         <lockText> <true /> </lockText>
  9242.         <rect>
  9243.             <left>282</left>
  9244.             <top>132</top>
  9245.             <right>501</right>
  9246.             <bottom>239</bottom>
  9247.         </rect>
  9248.         <style>transparent</style>
  9249.         <autoSelect> <false /> </autoSelect>
  9250.         <showLines> <false /> </showLines>
  9251.         <wideMargins> <false /> </wideMargins>
  9252.         <multipleLines> <false /> </multipleLines>
  9253.         <reservedFamily> 0 </reservedFamily>
  9254.         <titleWidth>0</titleWidth>
  9255.         <icon>0</icon>
  9256.         <textAlign>left</textAlign>
  9257.         <font>Geneva</font>
  9258.         <textSize>24</textSize>
  9259.         <textStyle>shadow</textStyle>
  9260.         <textStyle>bold</textStyle>
  9261.         <textHeight>32</textHeight>
  9262.         <name></name>
  9263.         <script></script>
  9264.     </part>
  9265.     <content>
  9266.         <layer>background</layer>
  9267.         <id>1</id>
  9268.         <text>Animation with Fields (2 of 4)</text>
  9269.     </content>
  9270.     <content>
  9271.         <layer>background</layer>
  9272.         <id>13</id>
  9273.         <text><span class="style1">nimation is achieved here by erasing and typing in a field, as demonstrated earlier in this stack.This script uses the </span><span class="style3">select</span><span class="style1"> command.See the </span><span class="style3">Type...</span><span class="style1"> button script.</span></text>
  9274.     </content>
  9275.     <name></name>
  9276.     <script></script>
  9277. </card>
  9278.  
  9279.  
  9280. card_26422.xml
  9281. <?xml version="1.0" encoding="utf-8" ?>
  9282. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9283. <card>
  9284.     <id>26422</id>
  9285.     <filler1>0</filler1>
  9286.     <cantDelete> <false /> </cantDelete>
  9287.     <showPict> <true /> </showPict>
  9288.     <dontSearch> <false /> </dontSearch>
  9289.     <owner>2759</owner>
  9290.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9291.     <part>
  9292.         <id>1</id>
  9293.         <type>button</type>
  9294.         <visible> <true /> </visible>
  9295.         <reserved5> 0 </reserved5>
  9296.         <reserved4> 0 </reserved4>
  9297.         <reserved3> 0 </reserved3>
  9298.         <reserved2> 0 </reserved2>
  9299.         <reserved1> 0 </reserved1>
  9300.         <enabled> <true /> </enabled>
  9301.         <rect>
  9302.             <left>306</left>
  9303.             <top>72</top>
  9304.             <right>399</right>
  9305.             <bottom>94</bottom>
  9306.         </rect>
  9307.         <style>roundrect</style>
  9308.         <showName> <true /> </showName>
  9309.         <highlight> <false /> </highlight>
  9310.         <autoHighlight> <true /> </autoHighlight>
  9311.         <sharedHighlight> <true /> </sharedHighlight>
  9312.         <family>0</family>
  9313.         <titleWidth>0</titleWidth>
  9314.         <icon>0</icon>
  9315.         <textAlign>center</textAlign>
  9316.         <font>Chicago</font>
  9317.         <textSize>12</textSize>
  9318.         <textStyle>plain</textStyle>
  9319.         <name>Animate</name>
  9320.         <script>-- Script by Ronald Wartow-- ...modified by Genevi√®ve Crabeon mouseUpput return & "And now . . ." into card field 1--lock screenshow card field 1unlock screen with barn door open slowlywait 30 ticks--lock screenhide card field 1unlock screen with barn door close slowlyput return & "On with the show!" into card field 1--lock screenshow card field 1unlock screen with barn door open slowlywait 1 second--lock screenhide card field 1unlock screen with barn door close slowlyend mouseUp</script>
  9321.     </part>
  9322.     <part>
  9323.         <id>2</id>
  9324.         <type>field</type>
  9325.         <visible> <false /> </visible>
  9326.         <dontWrap> <false /> </dontWrap>
  9327.         <dontSearch> <false /> </dontSearch>
  9328.         <sharedText> <false /> </sharedText>
  9329.         <fixedLineHeight> <true /> </fixedLineHeight>
  9330.         <autoTab> <false /> </autoTab>
  9331.         <lockText> <false /> </lockText>
  9332.         <rect>
  9333.             <left>63</left>
  9334.             <top>120</top>
  9335.             <right>454</right>
  9336.             <bottom>216</bottom>
  9337.         </rect>
  9338.         <style>rectangle</style>
  9339.         <autoSelect> <false /> </autoSelect>
  9340.         <showLines> <false /> </showLines>
  9341.         <wideMargins> <false /> </wideMargins>
  9342.         <multipleLines> <false /> </multipleLines>
  9343.         <reservedFamily> 0 </reservedFamily>
  9344.         <titleWidth>0</titleWidth>
  9345.         <icon>0</icon>
  9346.         <textAlign>center</textAlign>
  9347.         <font>Geneva</font>
  9348.         <textSize>24</textSize>
  9349.         <textStyle>shadow</textStyle>
  9350.         <textStyle>bold</textStyle>
  9351.         <textHeight>32</textHeight>
  9352.         <name></name>
  9353.         <script></script>
  9354.     </part>
  9355.     <content>
  9356.         <layer>background</layer>
  9357.         <id>1</id>
  9358.         <text>Animation with Fields (3 of 4)</text>
  9359.     </content>
  9360.     <content>
  9361.         <layer>background</layer>
  9362.         <id>13</id>
  9363.         <text><span class="style1">his animation is accomplished by hiding a field, and then showing it with a visual effect.This script uses the </span><span class="style3">lock screen</span><span class="style1"> and </span><span class="style3">unlock screen</span><span class="style1"> commands.See the </span><span class="style3">Animate</span><span class="style1"> button script.</span><span class="style24">Adapted from an article by Ronald Wartow in MacWorld magazine.</span></text>
  9364.     </content>
  9365.     <content>
  9366.         <layer>card</layer>
  9367.         <id>2</id>
  9368.         <text>On with the show!</text>
  9369.     </content>
  9370.     <name></name>
  9371.     <script></script>
  9372. </card>
  9373.  
  9374.  
  9375. card_27441.xml
  9376. <?xml version="1.0" encoding="utf-8" ?>
  9377. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9378. <card>
  9379.     <id>27441</id>
  9380.     <filler1>0</filler1>
  9381.     <cantDelete> <false /> </cantDelete>
  9382.     <showPict> <true /> </showPict>
  9383.     <dontSearch> <false /> </dontSearch>
  9384.     <owner>2759</owner>
  9385.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9386.     <part>
  9387.         <id>1</id>
  9388.         <type>button</type>
  9389.         <visible> <true /> </visible>
  9390.         <reserved5> 0 </reserved5>
  9391.         <reserved4> 0 </reserved4>
  9392.         <reserved3> 0 </reserved3>
  9393.         <reserved2> 0 </reserved2>
  9394.         <reserved1> 0 </reserved1>
  9395.         <enabled> <true /> </enabled>
  9396.         <rect>
  9397.             <left>323</left>
  9398.             <top>113</top>
  9399.             <right>410</right>
  9400.             <bottom>135</bottom>
  9401.         </rect>
  9402.         <style>roundrect</style>
  9403.         <showName> <true /> </showName>
  9404.         <highlight> <false /> </highlight>
  9405.         <autoHighlight> <true /> </autoHighlight>
  9406.         <sharedHighlight> <true /> </sharedHighlight>
  9407.         <family>0</family>
  9408.         <titleWidth>0</titleWidth>
  9409.         <icon>0</icon>
  9410.         <textAlign>center</textAlign>
  9411.         <font>Chicago</font>
  9412.         <textSize>12</textSize>
  9413.         <textStyle>plain</textStyle>
  9414.         <name>Animate</name>
  9415.         <script>-- Scrolling field animation.-- ...by Genevi√®ve Crabeon mouseUppush card  -- remember where we came fromgo to card "Moving Field"---- move the field 5 pixels at a time, all the way accross--put the loc of card field 1 into Lput 862 into item 1 of Lset the loc of card field 1 to Lrepeat 80 timessubtract 15 from item 1 of Lset the loc of card field 1 to Lwait for 3 ticksend repeatwait for 1 secondpop card  -- return where we came fromend mouseUp</script>
  9416.     </part>
  9417.     <content>
  9418.         <layer>background</layer>
  9419.         <id>1</id>
  9420.         <text>Animation with Fields (4 of 4)</text>
  9421.     </content>
  9422.     <content>
  9423.         <layer>background</layer>
  9424.         <id>13</id>
  9425.         <text><span class="style1">his animation works by moving a text field across the screen from right to left.See the </span><span class="style3">Animate</span><span class="style1"> button script.</span></text>
  9426.     </content>
  9427.     <name></name>
  9428.     <script></script>
  9429. </card>
  9430.  
  9431.  
  9432. card_20631.xml
  9433. <?xml version="1.0" encoding="utf-8" ?>
  9434. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9435. <card>
  9436.     <id>20631</id>
  9437.     <filler1>0</filler1>
  9438.     <bitmap>BMAP_21453.pbm</bitmap>
  9439.     <cantDelete> <false /> </cantDelete>
  9440.     <showPict> <true /> </showPict>
  9441.     <dontSearch> <false /> </dontSearch>
  9442.     <owner>2759</owner>
  9443.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9444.     <part>
  9445.         <id>1</id>
  9446.         <type>button</type>
  9447.         <visible> <true /> </visible>
  9448.         <reserved5> 0 </reserved5>
  9449.         <reserved4> 0 </reserved4>
  9450.         <reserved3> 0 </reserved3>
  9451.         <reserved2> 0 </reserved2>
  9452.         <reserved1> 0 </reserved1>
  9453.         <enabled> <true /> </enabled>
  9454.         <rect>
  9455.             <left>392</left>
  9456.             <top>79</top>
  9457.             <right>496</right>
  9458.             <bottom>101</bottom>
  9459.         </rect>
  9460.         <style>roundrect</style>
  9461.         <showName> <true /> </showName>
  9462.         <highlight> <false /> </highlight>
  9463.         <autoHighlight> <true /> </autoHighlight>
  9464.         <sharedHighlight> <true /> </sharedHighlight>
  9465.         <family>0</family>
  9466.         <titleWidth>0</titleWidth>
  9467.         <icon>0</icon>
  9468.         <textAlign>center</textAlign>
  9469.         <font>Chicago</font>
  9470.         <textSize>12</textSize>
  9471.         <textStyle>plain</textStyle>
  9472.         <name>Animate</name>
  9473.         <script>-- Simple animation using the lasso.-- ...by Genevi√®ve Crabeon mouseUp---- selection tool with optionKey gives us a lasso-type selection--choose select tooldrag from 280,65 to 370,140 with optionKeydoMenu "Opaque"---- a series of drags make up the animation--set the dragSpeed to 300drag from 320,100 to 475,134drag from 475,134 to 307,315drag from 307,315 to 217,228drag from 217,228 to 84,315drag from 84,315 to 35,206drag from 35,206 to 83,30drag from 83,30 to 206,93drag from 206,93 to 314,33drag from 314,33 to 480,152drag from 480,152 to 317,258drag from 317,258 to 87,164drag from 87,164 to 204,68drag from 204,68 to 480,315drag from 480,315 to 320,100---- Yes, I know that this looks like it looks pretty difficult to-- come up with all these coordinates, but take heart, there are-- some utilities which allow you to record mouse movement and-- generate these drag commands automatically.---- ... and now we return to browse tool--reset paint  -- reset all the paint settings to their defaultschoose browse toolend mouseUp</script>
  9474.     </part>
  9475.     <content>
  9476.         <layer>background</layer>
  9477.         <id>1</id>
  9478.         <text>Animation with Paint Tools (1 of 6)</text>
  9479.     </content>
  9480.     <content>
  9481.         <layer>background</layer>
  9482.         <id>13</id>
  9483.         <text><span class="style1">he paint tools can be used to select a picture and drag it around the screen.See the </span><span class="style3">Animate</span><span class="style1"> button script.</span></text>
  9484.     </content>
  9485.     <name>Animation with paint tools</name>
  9486.     <script></script>
  9487. </card>
  9488.  
  9489.  
  9490. card_26712.xml
  9491. <?xml version="1.0" encoding="utf-8" ?>
  9492. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9493. <card>
  9494.     <id>26712</id>
  9495.     <filler1>0</filler1>
  9496.     <cantDelete> <false /> </cantDelete>
  9497.     <showPict> <true /> </showPict>
  9498.     <dontSearch> <false /> </dontSearch>
  9499.     <owner>2759</owner>
  9500.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9501.     <part>
  9502.         <id>1</id>
  9503.         <type>button</type>
  9504.         <visible> <true /> </visible>
  9505.         <reserved5> 0 </reserved5>
  9506.         <reserved4> 0 </reserved4>
  9507.         <reserved3> 0 </reserved3>
  9508.         <reserved2> 0 </reserved2>
  9509.         <reserved1> 0 </reserved1>
  9510.         <enabled> <true /> </enabled>
  9511.         <rect>
  9512.             <left>304</left>
  9513.             <top>75</top>
  9514.             <right>403</right>
  9515.             <bottom>97</bottom>
  9516.         </rect>
  9517.         <style>roundrect</style>
  9518.         <showName> <true /> </showName>
  9519.         <highlight> <false /> </highlight>
  9520.         <autoHighlight> <true /> </autoHighlight>
  9521.         <sharedHighlight> <true /> </sharedHighlight>
  9522.         <family>0</family>
  9523.         <titleWidth>0</titleWidth>
  9524.         <icon>0</icon>
  9525.         <textAlign>center</textAlign>
  9526.         <font>Chicago</font>
  9527.         <textSize>12</textSize>
  9528.         <textStyle>plain</textStyle>
  9529.         <name>JAWS...</name>
  9530.         <script>-- Jaws script-- ...by Ronald Wartowon mouseUp---- first draw the fin--choose regular polygon toolset lineSize to 1set polySides to 3  -- fin is a triangleset pattern to 12  -- blackset filled to truedrag from 420,320 to 420,270---- select the fin with the marquee--choose select tooldrag from 340,265 to 500,342  -- marquee selects the finset dragSpeed to 200---- play the sound effect, and drag the fin accross the screen--play boing tempo 250 "a3 c4 a3 c4 a3 c4 a3 c4 a3"  -- sound effectdrag from 400,283 to 50,283 -- the fin moves accross the screen---- restore the screen--doMenu "Revert"reset paint  -- reset all the paint settings to their defaultschoose browse toolend mouseUp</script>
  9531.     </part>
  9532.     <content>
  9533.         <layer>background</layer>
  9534.         <id>1</id>
  9535.         <text>Animation with Paint Tools (2 of 6)</text>
  9536.     </content>
  9537.     <content>
  9538.         <layer>background</layer>
  9539.         <id>13</id>
  9540.         <text><span class="style1">his animation is accomplished by using the paint tools to draw a picture, and drag it around.It also uses the </span><span class="style3">Boing</span><span class="style1"> sound effect.</span><span class="style24">Adapted from an article by Ronald Wartow in MacWorld magazine.</span></text>
  9541.     </content>
  9542.     <name></name>
  9543.     <script></script>
  9544. </card>
  9545.  
  9546.  
  9547. card_23179.xml
  9548. <?xml version="1.0" encoding="utf-8" ?>
  9549. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9550. <card>
  9551.     <id>23179</id>
  9552.     <filler1>0</filler1>
  9553.     <bitmap>BMAP_5772.pbm</bitmap>
  9554.     <cantDelete> <false /> </cantDelete>
  9555.     <showPict> <true /> </showPict>
  9556.     <dontSearch> <false /> </dontSearch>
  9557.     <owner>2759</owner>
  9558.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9559.     <part>
  9560.         <id>1</id>
  9561.         <type>field</type>
  9562.         <visible> <true /> </visible>
  9563.         <dontWrap> <false /> </dontWrap>
  9564.         <dontSearch> <false /> </dontSearch>
  9565.         <sharedText> <false /> </sharedText>
  9566.         <fixedLineHeight> <true /> </fixedLineHeight>
  9567.         <autoTab> <false /> </autoTab>
  9568.         <lockText> <false /> </lockText>
  9569.         <rect>
  9570.             <left>254</left>
  9571.             <top>105</top>
  9572.             <right>283</right>
  9573.             <bottom>219</bottom>
  9574.         </rect>
  9575.         <style>rectangle</style>
  9576.         <autoSelect> <false /> </autoSelect>
  9577.         <showLines> <true /> </showLines>
  9578.         <wideMargins> <false /> </wideMargins>
  9579.         <multipleLines> <false /> </multipleLines>
  9580.         <reservedFamily> 0 </reservedFamily>
  9581.         <titleWidth>0</titleWidth>
  9582.         <icon>0</icon>
  9583.         <textAlign>center</textAlign>
  9584.         <font>Monaco</font>
  9585.         <textSize>12</textSize>
  9586.         <textStyle>bold</textStyle>
  9587.         <textHeight>16</textHeight>
  9588.         <name>Numbers</name>
  9589.         <script></script>
  9590.     </part>
  9591.     <part>
  9592.         <id>2</id>
  9593.         <type>button</type>
  9594.         <visible> <true /> </visible>
  9595.         <reserved5> 0 </reserved5>
  9596.         <reserved4> 0 </reserved4>
  9597.         <reserved3> 0 </reserved3>
  9598.         <reserved2> 0 </reserved2>
  9599.         <reserved1> 0 </reserved1>
  9600.         <enabled> <true /> </enabled>
  9601.         <rect>
  9602.             <left>316</left>
  9603.             <top>108</top>
  9604.             <right>411</right>
  9605.             <bottom>130</bottom>
  9606.         </rect>
  9607.         <style>roundrect</style>
  9608.         <showName> <true /> </showName>
  9609.         <highlight> <false /> </highlight>
  9610.         <autoHighlight> <true /> </autoHighlight>
  9611.         <sharedHighlight> <true /> </sharedHighlight>
  9612.         <family>0</family>
  9613.         <titleWidth>0</titleWidth>
  9614.         <icon>0</icon>
  9615.         <textAlign>center</textAlign>
  9616.         <font>Chicago</font>
  9617.         <textSize>12</textSize>
  9618.         <textStyle>plain</textStyle>
  9619.         <name>Draw Graph</name>
  9620.         <script>-- This script draws a simple graph based on a series of numbers given-- in a field.-- ... by Genevi√®ve Crabeon mouseUpglobal graphDrawn-- to keep track of whether there is a graph to erase when we leaveput true into graphDrawn---- how many points in the graph--put the number of lines in card field "numbers" into numItems---- xAxis and yAxis are the coordinates of the edge of the graph area-- xIncr and yDecr are the spacing between units in the graph--put 293 into xAxisput 296 into yAxisput 22 into xIncrput 12 into yDecr---- select the line tool, and a line thickness of 2--choose line toolset the lineSize to 2---- this is the loop which creates the graph--repeat with i = 1 to numItems---- check that each number is between 1 and 10--put line i of card field "numbers" into theValueif theValue < 1 or theValue > 10 thenanswer "Numbers must be between 1 and 10."exit repeatend if---- calculate the screen coordinates at which to draw the next point--put xAxis + (i * xIncr) into xValueput yAxis - (theValue * yDecr) into yValue---- if this is the first point, just click to draw a point;-- otherwise, draw a line from the last point--if i = 1 then click at xValue, yValueelse drag from prevX, prevY to xValue, yValue---- remember the last point so we can draw a line to the next one--put xValue into prevXput yValue into prevYend repeat---- done... go back to the browse tool--reset paint  -- reset all the paint settings to their defaultschoose browse toolend mouseUp</script>
  9621.     </part>
  9622.     <part>
  9623.         <id>3</id>
  9624.         <type>button</type>
  9625.         <visible> <true /> </visible>
  9626.         <reserved5> 0 </reserved5>
  9627.         <reserved4> 0 </reserved4>
  9628.         <reserved3> 0 </reserved3>
  9629.         <reserved2> 0 </reserved2>
  9630.         <reserved1> 0 </reserved1>
  9631.         <enabled> <true /> </enabled>
  9632.         <rect>
  9633.             <left>389</left>
  9634.             <top>309</top>
  9635.             <right>489</right>
  9636.             <bottom>331</bottom>
  9637.         </rect>
  9638.         <style>roundrect</style>
  9639.         <showName> <true /> </showName>
  9640.         <highlight> <false /> </highlight>
  9641.         <autoHighlight> <true /> </autoHighlight>
  9642.         <sharedHighlight> <true /> </sharedHighlight>
  9643.         <family>0</family>
  9644.         <titleWidth>0</titleWidth>
  9645.         <icon>0</icon>
  9646.         <textAlign>center</textAlign>
  9647.         <font>Chicago</font>
  9648.         <textSize>12</textSize>
  9649.         <textStyle>plain</textStyle>
  9650.         <name>Erase Graph</name>
  9651.         <script>-- This button erases the graph.---- The script first chooses the selection tool drags a marquee around-- the graph, and then uses the "Clear Picture" menu command to erase-- the graph.on mouseUpchoose select tooldrag from 294, 294 to 455, 173doMenu "Clear Picture"choose browse tool--global graphDrawn-- to keep track of whether there is a graph to erase when we leaveput false into graphDrawnend mouseUp</script>
  9652.     </part>
  9653.     <part>
  9654.         <id>4</id>
  9655.         <type>field</type>
  9656.         <visible> <true /> </visible>
  9657.         <dontWrap> <false /> </dontWrap>
  9658.         <dontSearch> <false /> </dontSearch>
  9659.         <sharedText> <false /> </sharedText>
  9660.         <fixedLineHeight> <false /> </fixedLineHeight>
  9661.         <autoTab> <false /> </autoTab>
  9662.         <lockText> <true /> </lockText>
  9663.         <rect>
  9664.             <left>269</left>
  9665.             <top>62</top>
  9666.             <right>483</right>
  9667.             <bottom>91</bottom>
  9668.         </rect>
  9669.         <style>transparent</style>
  9670.         <autoSelect> <false /> </autoSelect>
  9671.         <showLines> <false /> </showLines>
  9672.         <wideMargins> <false /> </wideMargins>
  9673.         <multipleLines> <false /> </multipleLines>
  9674.         <reservedFamily> 0 </reservedFamily>
  9675.         <titleWidth>0</titleWidth>
  9676.         <icon>0</icon>
  9677.         <textAlign>center</textAlign>
  9678.         <font>Geneva</font>
  9679.         <textSize>9</textSize>
  9680.         <textStyle>plain</textStyle>
  9681.         <textHeight>12</textHeight>
  9682.         <name></name>
  9683.         <script></script>
  9684.     </part>
  9685.     <content>
  9686.         <layer>background</layer>
  9687.         <id>1</id>
  9688.         <text>Animation with Paint Tools (3 of 6)</text>
  9689.     </content>
  9690.     <content>
  9691.         <layer>background</layer>
  9692.         <id>13</id>
  9693.         <text><span class="style1">sing the paint tools within scripts allows you to automatically generate graphics.This example illustrates drawing a simple graph.  Change the numbers in the field and click the </span><span class="style3">Draw Graph</span><span class="style1"> button.NOTE: all the numbers must be between 0 and 10.To erase the graph, click the </span><span class="style3">Erase Graph</span><span class="style1"> button.</span></text>
  9694.     </content>
  9695.     <content>
  9696.         <layer>card</layer>
  9697.         <id>1</id>
  9698.         <text>89261105</text>
  9699.     </content>
  9700.     <content>
  9701.         <layer>background</layer>
  9702.         <id>16</id>
  9703.         <text>Please wait whilethe graph is erased...</text>
  9704.     </content>
  9705.     <content>
  9706.         <layer>card</layer>
  9707.         <id>4</id>
  9708.         <text><span class="style1">ou can change the numbers in the field,then click </span><span class="style3">Draw Graph</span><span class="style1">.</span></text>
  9709.     </content>
  9710.     <name></name>
  9711.     <script>on openCardglobal graphDrawn-- to keep track of whether there is a graph to erase when we leaveput false into graphDrawnpass openCardend openCardon closeCardglobal graphDrawnif graphDrawn thenShowMsg "Please wait while" & return & "the graph is erased..."send mouseUp to card button "Erase Graph"HideMsgend ifpass closeCardend closeCard</script>
  9712. </card>
  9713.  
  9714.  
  9715. card_25855.xml
  9716. <?xml version="1.0" encoding="utf-8" ?>
  9717. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9718. <card>
  9719.     <id>25855</id>
  9720.     <filler1>0</filler1>
  9721.     <cantDelete> <false /> </cantDelete>
  9722.     <showPict> <true /> </showPict>
  9723.     <dontSearch> <false /> </dontSearch>
  9724.     <owner>2759</owner>
  9725.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9726.     <part>
  9727.         <id>1</id>
  9728.         <type>button</type>
  9729.         <visible> <true /> </visible>
  9730.         <reserved5> 0 </reserved5>
  9731.         <reserved4> 0 </reserved4>
  9732.         <reserved3> 0 </reserved3>
  9733.         <reserved2> 0 </reserved2>
  9734.         <reserved1> 0 </reserved1>
  9735.         <enabled> <true /> </enabled>
  9736.         <rect>
  9737.             <left>257</left>
  9738.             <top>67</top>
  9739.             <right>335</right>
  9740.             <bottom>89</bottom>
  9741.         </rect>
  9742.         <style>roundrect</style>
  9743.         <showName> <true /> </showName>
  9744.         <highlight> <false /> </highlight>
  9745.         <autoHighlight> <true /> </autoHighlight>
  9746.         <sharedHighlight> <true /> </sharedHighlight>
  9747.         <family>0</family>
  9748.         <titleWidth>0</titleWidth>
  9749.         <icon>0</icon>
  9750.         <textAlign>center</textAlign>
  9751.         <font>Chicago</font>
  9752.         <textSize>12</textSize>
  9753.         <textStyle>plain</textStyle>
  9754.         <name>Paint</name>
  9755.         <script>-- Painting from scripts.-- ... by Genevi√®ve Crabeon mouseUp---- first, draw some text using the text tool--choose text toolset textFont to Genevaset textSize to 18set textStyle to boldset textAlign to leftclick at 285,130type "Hello, my name is"click at 285,160type "Genevi√®ve Crabe..."wait 1 second---- now, draw a rectangle--choose rectangle toolset lineSize to 2set centered to false  -- we want to draw from the cornerset multiple to false  -- draw the rectangleset filled to trueset pattern to 16drag from 300,200 to 440,300  -- draw itwait 1 second---- now, draw an oval--choose oval toolset centered to false  -- we want to draw from the cornerset multiple to false  -- draw the ovalset filled to trueset pattern to 12drag from 320,220 to 420,280  -- draw it---- now, erase the graphics--wait 3 secondsdoMenu "Revert"reset paint  -- reset all the paint settings to their defaultschoose browse toolend mouseUp</script>
  9756.     </part>
  9757.     <content>
  9758.         <layer>background</layer>
  9759.         <id>1</id>
  9760.         <text>Animation with Paint Tools (4 of 6)</text>
  9761.     </content>
  9762.     <content>
  9763.         <layer>background</layer>
  9764.         <id>13</id>
  9765.         <text>This is another example showing how to use the paint tools from a script: typing text and drawing a rectangle and an oval.</text>
  9766.     </content>
  9767.     <name></name>
  9768.     <script></script>
  9769. </card>
  9770.  
  9771.  
  9772. card_25867.xml
  9773. <?xml version="1.0" encoding="utf-8" ?>
  9774. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9775. <card>
  9776.     <id>25867</id>
  9777.     <filler1>0</filler1>
  9778.     <cantDelete> <false /> </cantDelete>
  9779.     <showPict> <true /> </showPict>
  9780.     <dontSearch> <false /> </dontSearch>
  9781.     <owner>2759</owner>
  9782.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9783.     <part>
  9784.         <id>1</id>
  9785.         <type>button</type>
  9786.         <visible> <true /> </visible>
  9787.         <reserved5> 0 </reserved5>
  9788.         <reserved4> 0 </reserved4>
  9789.         <reserved3> 0 </reserved3>
  9790.         <reserved2> 0 </reserved2>
  9791.         <reserved1> 0 </reserved1>
  9792.         <enabled> <true /> </enabled>
  9793.         <rect>
  9794.             <left>289</left>
  9795.             <top>77</top>
  9796.             <right>388</right>
  9797.             <bottom>99</bottom>
  9798.         </rect>
  9799.         <style>roundrect</style>
  9800.         <showName> <true /> </showName>
  9801.         <highlight> <false /> </highlight>
  9802.         <autoHighlight> <true /> </autoHighlight>
  9803.         <sharedHighlight> <true /> </sharedHighlight>
  9804.         <family>0</family>
  9805.         <titleWidth>0</titleWidth>
  9806.         <icon>0</icon>
  9807.         <textAlign>center</textAlign>
  9808.         <font>Chicago</font>
  9809.         <textSize>12</textSize>
  9810.         <textStyle>plain</textStyle>
  9811.         <name>Animate</name>
  9812.         <script>-- Visual effect using the paint tools,-- by Ronald Wartow-- modified by Genevi√®ve Crabeon mouseUpchoose oval toolset lineSize to 2set centered to trueset dragSpeed to 100set multiple to true  -- draw multiple ovalsset multiSpace to 1  -- set spacing between ovalsset filled to falsedrag from 261,171 to 520,520wait for 2 seconds--lock screendoMenu "Select All"doMenu "Revert"reset paint  -- reset all the paint settings to their defaultschoose browse toolunlock screen with iris close slowlyend mouseUp</script>
  9813.     </part>
  9814.     <content>
  9815.         <layer>background</layer>
  9816.         <id>1</id>
  9817.         <text>Animation with Paint Tools (5 of 6)</text>
  9818.     </content>
  9819.     <content>
  9820.         <layer>background</layer>
  9821.         <id>13</id>
  9822.         <text><span class="style1">his example uses the paint tools to achieve an interesting effect...</span><span class="style24">Adapted from an article by Ronald Wartow in MacWorld magazine.</span></text>
  9823.     </content>
  9824.     <name></name>
  9825.     <script></script>
  9826. </card>
  9827.  
  9828.  
  9829. card_28430.xml
  9830. <?xml version="1.0" encoding="utf-8" ?>
  9831. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9832. <card>
  9833.     <id>28430</id>
  9834.     <filler1>0</filler1>
  9835.     <cantDelete> <false /> </cantDelete>
  9836.     <showPict> <true /> </showPict>
  9837.     <dontSearch> <false /> </dontSearch>
  9838.     <owner>2759</owner>
  9839.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9840.     <part>
  9841.         <id>1</id>
  9842.         <type>button</type>
  9843.         <visible> <true /> </visible>
  9844.         <reserved5> 0 </reserved5>
  9845.         <reserved4> 0 </reserved4>
  9846.         <reserved3> 0 </reserved3>
  9847.         <reserved2> 0 </reserved2>
  9848.         <reserved1> 0 </reserved1>
  9849.         <enabled> <true /> </enabled>
  9850.         <rect>
  9851.             <left>257</left>
  9852.             <top>61</top>
  9853.             <right>349</right>
  9854.             <bottom>83</bottom>
  9855.         </rect>
  9856.         <style>roundrect</style>
  9857.         <showName> <true /> </showName>
  9858.         <highlight> <false /> </highlight>
  9859.         <autoHighlight> <true /> </autoHighlight>
  9860.         <sharedHighlight> <true /> </sharedHighlight>
  9861.         <family>0</family>
  9862.         <titleWidth>0</titleWidth>
  9863.         <icon>0</icon>
  9864.         <textAlign>center</textAlign>
  9865.         <font>Chicago</font>
  9866.         <textSize>12</textSize>
  9867.         <textStyle>plain</textStyle>
  9868.         <name>Animate</name>
  9869.         <script>-- Draw along a pre-defined path.-- ... by Genevi√®ve Crabeon mouseUp---- start by resetting the paint properties--reset paint---- set the tool to paint brush--choose brush toolset the dragSpeed to 300---- draw from one point to the next in the field--repeat with i = 2 to the number of lines in card field "points"drag from line i - 1 of card field "points" to ¬¨line i of card field "points"end repeatwait for 60 ticks---- erase graphic and back to the browse tool--lock screendoMenu "Select All"doMenu "Revert"reset paint  -- reset all the paint settings to their defaultschoose browse toolend mouseUp</script>
  9870.     </part>
  9871.     <part>
  9872.         <id>2</id>
  9873.         <type>field</type>
  9874.         <visible> <false /> </visible>
  9875.         <dontWrap> <false /> </dontWrap>
  9876.         <dontSearch> <false /> </dontSearch>
  9877.         <sharedText> <false /> </sharedText>
  9878.         <fixedLineHeight> <false /> </fixedLineHeight>
  9879.         <autoTab> <false /> </autoTab>
  9880.         <lockText> <true /> </lockText>
  9881.         <rect>
  9882.             <left>418</left>
  9883.             <top>80</top>
  9884.             <right>493</right>
  9885.             <bottom>329</bottom>
  9886.         </rect>
  9887.         <style>scrolling</style>
  9888.         <autoSelect> <false /> </autoSelect>
  9889.         <showLines> <false /> </showLines>
  9890.         <wideMargins> <false /> </wideMargins>
  9891.         <multipleLines> <false /> </multipleLines>
  9892.         <reservedFamily> 0 </reservedFamily>
  9893.         <titleWidth>0</titleWidth>
  9894.         <icon>0</icon>
  9895.         <textAlign>right</textAlign>
  9896.         <font>Monaco</font>
  9897.         <textSize>9</textSize>
  9898.         <textStyle>plain</textStyle>
  9899.         <textHeight>12</textHeight>
  9900.         <name>points</name>
  9901.         <script>on mouseUphide meend mouseUp</script>
  9902.     </part>
  9903.     <part>
  9904.         <id>3</id>
  9905.         <type>button</type>
  9906.         <visible> <true /> </visible>
  9907.         <reserved5> 0 </reserved5>
  9908.         <reserved4> 0 </reserved4>
  9909.         <reserved3> 0 </reserved3>
  9910.         <reserved2> 0 </reserved2>
  9911.         <reserved1> 0 </reserved1>
  9912.         <enabled> <true /> </enabled>
  9913.         <rect>
  9914.             <left>417</left>
  9915.             <top>57</top>
  9916.             <right>495</right>
  9917.             <bottom>74</bottom>
  9918.         </rect>
  9919.         <style>roundrect</style>
  9920.         <showName> <true /> </showName>
  9921.         <highlight> <false /> </highlight>
  9922.         <autoHighlight> <true /> </autoHighlight>
  9923.         <sharedHighlight> <true /> </sharedHighlight>
  9924.         <family>0</family>
  9925.         <titleWidth>0</titleWidth>
  9926.         <icon>0</icon>
  9927.         <textAlign>center</textAlign>
  9928.         <font>Geneva</font>
  9929.         <textSize>9</textSize>
  9930.         <textStyle>bold</textStyle>
  9931.         <name>Show Points</name>
  9932.         <script>on mouseUpshow card field "points"end mouseUp</script>
  9933.     </part>
  9934.     <part>
  9935.         <id>4</id>
  9936.         <type>button</type>
  9937.         <visible> <true /> </visible>
  9938.         <reserved5> 0 </reserved5>
  9939.         <reserved4> 0 </reserved4>
  9940.         <reserved3> 0 </reserved3>
  9941.         <reserved2> 0 </reserved2>
  9942.         <reserved1> 0 </reserved1>
  9943.         <enabled> <true /> </enabled>
  9944.         <rect>
  9945.             <left>259</left>
  9946.             <top>308</top>
  9947.             <right>371</right>
  9948.             <bottom>330</bottom>
  9949.         </rect>
  9950.         <style>roundrect</style>
  9951.         <showName> <true /> </showName>
  9952.         <highlight> <false /> </highlight>
  9953.         <autoHighlight> <true /> </autoHighlight>
  9954.         <sharedHighlight> <true /> </sharedHighlight>
  9955.         <family>0</family>
  9956.         <titleWidth>0</titleWidth>
  9957.         <icon>0</icon>
  9958.         <textAlign>center</textAlign>
  9959.         <font>Chicago</font>
  9960.         <textSize>12</textSize>
  9961.         <textStyle>plain</textStyle>
  9962.         <name>Clear Graphics</name>
  9963.         <script>on mouseUpclearGraphicsend mouseUp</script>
  9964.     </part>
  9965.     <content>
  9966.         <layer>background</layer>
  9967.         <id>1</id>
  9968.         <text>Animation with Paint Tools (6 of 6)</text>
  9969.     </content>
  9970.     <content>
  9971.         <layer>card</layer>
  9972.         <id>2</id>
  9973.         <text><span class="style1">5,22076,21979,21882,21685,21487,21390,21193,20995,20799,205101,203104,201107,198110,195113,192117,188120,186123,182126,180129,176132,173134,171135,169139,165141,161145,157147,153150,149152,146153,143154,139156,135157,131160,127160,123161,119161,115161,113161,111160,109160,107159,105158,104156,104154,105152,107150,109149,111147,114145,118143,122142,126141,130140,134139,138139,142138,146138,154138,158137,162136,166136,170136,174135,178134,182134,186132,190131,194130,198128,202128,206126,210126,214125,217125,221125,225125,229125,231125,229125,227125,223126,219126,215127,211129,207131,201133,195136,190141,187145,185149,184152,184154,185156,186158,188158,190159,192158,195157,199156,203154,207152,211152,215152,219153,222154,224155,226157,227159,227163,228167,228171,227175,226179,224183,221187,218190,213193,208194,204196,199198,194198,190195,187193,186191,184189,184187,186186,187184,189184,192183,196182,200182,205181,210182,214182,218185,222187,225190,227194,227198,227202,227206,227210,225216,223221,221225,218229,215233,211236,207238,202240,198242,192244,187246,181247,175249,169249,163250,157251,151251,146251,141251,135251,129251,124250,120248,116246,112243,110241,111240,113239,116238,120236,126236,132235,139233,146232,154230,161229,167229,173229,179229,185230,191230,196230,200232,204232,208234,212237,216241,220244,223247,224251,225255,225259,225263,224267,223272,220278,217283,214286,210289,206293,201297,195300,188303,182305,174307,168309,162310,156310,150310,144310,138310,132309,126309,120309,114308,110307,107305,106303,108302,110300,115297,120295,125293,132290,139288,147287,155285,163284,169283,175281,187280,193280,198280,202281,206282,209283,212285,215288,218291,221295,221299,223302,224304,224307,223311,223314,221317,219320,216323,213325,210327,206328,203330,199331,195333,191333,190332,192332,196331,200331,204330,210329,215329,219330,223333,226337,227341,228345,229349,228353,227357,227360,224363,221365,217366,213367,209367,204367,198366,192365,186361,182358,178354,177350,177346,177342,177338,180335,184332,188332,192333,196335,200337,204341,205345,207349,206353,206356,205361,203366,200371,198375,196382,193389,190396,187404,186410,186416,187422,188423,189</span><span class="style22"></span></text>
  9974.     </content>
  9975.     <content>
  9976.         <layer>background</layer>
  9977.         <id>13</id>
  9978.         <text><span class="style1">his script draws a picture with the paint brush tool. Click the </span><span class="style3">Animate</span><span class="style1"> button to see it in action.The script uses a list of points stored in a field. Click </span><span class="style3">Show Points</span><span class="style1"> to see the list. (You can click on the list to hide it.)</span><span class="style3">Exercise</span><span class="style1">: try to write a script to follow the mouse movements and create the list of points.</span></text>
  9979.     </content>
  9980.     <name></name>
  9981.     <script>on clearGraphicschoose select tooldoMenu "Select All"doMenu "Clear Picture"choose browse toolend clearGraphics</script>
  9982. </card>
  9983.  
  9984.  
  9985. card_32013.xml
  9986. <?xml version="1.0" encoding="utf-8" ?>
  9987. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9988. <card>
  9989.     <id>32013</id>
  9990.     <filler1>0</filler1>
  9991.     <cantDelete> <false /> </cantDelete>
  9992.     <showPict> <true /> </showPict>
  9993.     <dontSearch> <false /> </dontSearch>
  9994.     <owner>2759</owner>
  9995.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  9996.     <part>
  9997.         <id>5</id>
  9998.         <type>field</type>
  9999.         <visible> <true /> </visible>
  10000.         <dontWrap> <true /> </dontWrap>
  10001.         <dontSearch> <false /> </dontSearch>
  10002.         <sharedText> <false /> </sharedText>
  10003.         <fixedLineHeight> <false /> </fixedLineHeight>
  10004.         <autoTab> <false /> </autoTab>
  10005.         <lockText> <true /> </lockText>
  10006.         <rect>
  10007.             <left>305</left>
  10008.             <top>58</top>
  10009.             <right>450</right>
  10010.             <bottom>120</bottom>
  10011.         </rect>
  10012.         <style>rectangle</style>
  10013.         <autoSelect> <true /> </autoSelect>
  10014.         <showLines> <false /> </showLines>
  10015.         <wideMargins> <false /> </wideMargins>
  10016.         <multipleLines> <false /> </multipleLines>
  10017.         <reservedFamily> 0 </reservedFamily>
  10018.         <titleWidth>0</titleWidth>
  10019.         <icon>0</icon>
  10020.         <textAlign>left</textAlign>
  10021.         <font>Geneva</font>
  10022.         <textSize>9</textSize>
  10023.         <textStyle>bold</textStyle>
  10024.         <textHeight>12</textHeight>
  10025.         <name>the list</name>
  10026.         <script>on mouseUpglobal theChoiceput the selectedLine of me into sput line (word 2 of s) of me into newChoiceif newChoice = theChoice then exit mouseUpshow cd fld newChoiceif theChoice is not empty then hide cd fld theChoiceput newChoice into theChoiceend mouseUp</script>
  10027.     </part>
  10028.     <part>
  10029.         <id>6</id>
  10030.         <type>field</type>
  10031.         <visible> <false /> </visible>
  10032.         <dontWrap> <false /> </dontWrap>
  10033.         <dontSearch> <false /> </dontSearch>
  10034.         <sharedText> <false /> </sharedText>
  10035.         <fixedLineHeight> <false /> </fixedLineHeight>
  10036.         <autoTab> <false /> </autoTab>
  10037.         <lockText> <true /> </lockText>
  10038.         <rect>
  10039.             <left>265</left>
  10040.             <top>155</top>
  10041.             <right>490</right>
  10042.             <bottom>327</bottom>
  10043.         </rect>
  10044.         <style>opaque</style>
  10045.         <autoSelect> <false /> </autoSelect>
  10046.         <showLines> <false /> </showLines>
  10047.         <wideMargins> <false /> </wideMargins>
  10048.         <multipleLines> <false /> </multipleLines>
  10049.         <reservedFamily> 0 </reservedFamily>
  10050.         <titleWidth>0</titleWidth>
  10051.         <icon>0</icon>
  10052.         <textAlign>left</textAlign>
  10053.         <font>Geneva</font>
  10054.         <textSize>10</textSize>
  10055.         <textStyle>plain</textStyle>
  10056.         <textHeight>13</textHeight>
  10057.         <name>palettes</name>
  10058.         <script></script>
  10059.     </part>
  10060.     <part>
  10061.         <id>7</id>
  10062.         <type>field</type>
  10063.         <visible> <false /> </visible>
  10064.         <dontWrap> <false /> </dontWrap>
  10065.         <dontSearch> <false /> </dontSearch>
  10066.         <sharedText> <false /> </sharedText>
  10067.         <fixedLineHeight> <false /> </fixedLineHeight>
  10068.         <autoTab> <false /> </autoTab>
  10069.         <lockText> <true /> </lockText>
  10070.         <rect>
  10071.             <left>265</left>
  10072.             <top>155</top>
  10073.             <right>490</right>
  10074.             <bottom>327</bottom>
  10075.         </rect>
  10076.         <style>opaque</style>
  10077.         <autoSelect> <false /> </autoSelect>
  10078.         <showLines> <false /> </showLines>
  10079.         <wideMargins> <false /> </wideMargins>
  10080.         <multipleLines> <false /> </multipleLines>
  10081.         <reservedFamily> 0 </reservedFamily>
  10082.         <titleWidth>0</titleWidth>
  10083.         <icon>0</icon>
  10084.         <textAlign>left</textAlign>
  10085.         <font>Geneva</font>
  10086.         <textSize>10</textSize>
  10087.         <textStyle>plain</textStyle>
  10088.         <textHeight>13</textHeight>
  10089.         <name>Card, Bkgnd, Stack Info</name>
  10090.         <script></script>
  10091.     </part>
  10092.     <part>
  10093.         <id>8</id>
  10094.         <type>field</type>
  10095.         <visible> <false /> </visible>
  10096.         <dontWrap> <false /> </dontWrap>
  10097.         <dontSearch> <false /> </dontSearch>
  10098.         <sharedText> <false /> </sharedText>
  10099.         <fixedLineHeight> <false /> </fixedLineHeight>
  10100.         <autoTab> <false /> </autoTab>
  10101.         <lockText> <true /> </lockText>
  10102.         <rect>
  10103.             <left>265</left>
  10104.             <top>155</top>
  10105.             <right>490</right>
  10106.             <bottom>327</bottom>
  10107.         </rect>
  10108.         <style>opaque</style>
  10109.         <autoSelect> <false /> </autoSelect>
  10110.         <showLines> <false /> </showLines>
  10111.         <wideMargins> <false /> </wideMargins>
  10112.         <multipleLines> <false /> </multipleLines>
  10113.         <reservedFamily> 0 </reservedFamily>
  10114.         <titleWidth>0</titleWidth>
  10115.         <icon>0</icon>
  10116.         <textAlign>left</textAlign>
  10117.         <font>Geneva</font>
  10118.         <textSize>10</textSize>
  10119.         <textStyle>plain</textStyle>
  10120.         <textHeight>13</textHeight>
  10121.         <name>Script Editor Font</name>
  10122.         <script></script>
  10123.     </part>
  10124.     <part>
  10125.         <id>9</id>
  10126.         <type>field</type>
  10127.         <visible> <false /> </visible>
  10128.         <dontWrap> <false /> </dontWrap>
  10129.         <dontSearch> <false /> </dontSearch>
  10130.         <sharedText> <false /> </sharedText>
  10131.         <fixedLineHeight> <false /> </fixedLineHeight>
  10132.         <autoTab> <false /> </autoTab>
  10133.         <lockText> <true /> </lockText>
  10134.         <rect>
  10135.             <left>265</left>
  10136.             <top>155</top>
  10137.             <right>490</right>
  10138.             <bottom>327</bottom>
  10139.         </rect>
  10140.         <style>opaque</style>
  10141.         <autoSelect> <false /> </autoSelect>
  10142.         <showLines> <false /> </showLines>
  10143.         <wideMargins> <false /> </wideMargins>
  10144.         <multipleLines> <false /> </multipleLines>
  10145.         <reservedFamily> 0 </reservedFamily>
  10146.         <titleWidth>0</titleWidth>
  10147.         <icon>0</icon>
  10148.         <textAlign>left</textAlign>
  10149.         <font>Geneva</font>
  10150.         <textSize>10</textSize>
  10151.         <textStyle>plain</textStyle>
  10152.         <textHeight>13</textHeight>
  10153.         <name>Search Scripts</name>
  10154.         <script></script>
  10155.     </part>
  10156.     <part>
  10157.         <id>10</id>
  10158.         <type>field</type>
  10159.         <visible> <false /> </visible>
  10160.         <dontWrap> <false /> </dontWrap>
  10161.         <dontSearch> <false /> </dontSearch>
  10162.         <sharedText> <false /> </sharedText>
  10163.         <fixedLineHeight> <false /> </fixedLineHeight>
  10164.         <autoTab> <false /> </autoTab>
  10165.         <lockText> <true /> </lockText>
  10166.         <rect>
  10167.             <left>265</left>
  10168.             <top>155</top>
  10169.             <right>490</right>
  10170.             <bottom>327</bottom>
  10171.         </rect>
  10172.         <style>opaque</style>
  10173.         <autoSelect> <false /> </autoSelect>
  10174.         <showLines> <false /> </showLines>
  10175.         <wideMargins> <false /> </wideMargins>
  10176.         <multipleLines> <false /> </multipleLines>
  10177.         <reservedFamily> 0 </reservedFamily>
  10178.         <titleWidth>0</titleWidth>
  10179.         <icon>0</icon>
  10180.         <textAlign>left</textAlign>
  10181.         <font>Geneva</font>
  10182.         <textSize>10</textSize>
  10183.         <textStyle>plain</textStyle>
  10184.         <textHeight>13</textHeight>
  10185.         <name>Mouse Location</name>
  10186.         <script></script>
  10187.     </part>
  10188.     <content>
  10189.         <layer>background</layer>
  10190.         <id>1</id>
  10191.         <text>Home Stack Goodies</text>
  10192.     </content>
  10193.     <content>
  10194.         <layer>background</layer>
  10195.         <id>13</id>
  10196.         <text><span class="style1">f you are using the standard </span><span class="style3">Home</span><span class="style1"> stack that comes with HyperCard, there are several useful utilities in the Home stack script that you can use during stack development.Click on an item in the list (upper right) for more information.All the commands can be used by typing them in the message box. In all case, type the command in the message box, and hit return.</span></text>
  10197.     </content>
  10198.     <content>
  10199.         <layer>card</layer>
  10200.         <id>5</id>
  10201.         <text>PalettesCard, Bkgnd, Stack InfoScript Editor FontSearch ScriptsMouse Location</text>
  10202.     </content>
  10203.     <content>
  10204.         <layer>card</layer>
  10205.         <id>6</id>
  10206.         <text><span class="style29">alettes</span><span class="style1">There are shortcuts for opening three of HyperCard's built-in palettes. Type the commands in the message box.To open the Navigator palette, type</span><span class="style3"> nav</span><span class="style1">To open the Message Watcher, type</span><span class="style3"> mw</span><span class="style1">To open the Variable Watcher, type</span><span class="style3"> vw</span><span class="style30"></span></text>
  10207.     </content>
  10208.     <content>
  10209.         <layer>card</layer>
  10210.         <id>7</id>
  10211.         <text><span class="style29">ard, Bkgnd, Stack Info</span><span class="style1">There are shortcuts for the </span><span class="style3">Card Info</span><span class="style1">, </span><span class="style3">Bkgnd Info</span><span class="style1">, and </span><span class="style3">Stack Info</span><span class="style1"> menu items. Type these in the message box.For Card Info, type</span><span class="style3"> c</span><span class="style1">For Bkgnd Info, type</span><span class="style3"> b</span><span class="style1">For Stack Info, type</span><span class="style3"> s</span></text>
  10212.     </content>
  10213.     <content>
  10214.         <layer>card</layer>
  10215.         <id>8</id>
  10216.         <text><span class="style29">cript Editor Font</span><span class="style1">It is possible to change the font and size used in the script windows. You can type the full commands in the message box, or use the shortcut provided in the Home stack.To try it, type</span><span class="style3"> se </span><span class="style1">in the message box.</span></text>
  10217.     </content>
  10218.     <content>
  10219.         <layer>card</layer>
  10220.         <id>9</id>
  10221.         <text><span class="style29">earch Scripts</span><span class="style1">There is a very useful handler that will search for a string in all the scripts in a stack. This is useful, for example, to look for occurrences of a global variableTo use this, type</span><span class="style3"> searchScript "str" </span><span class="style1">in the message box, where "str" is the string you want to look for.</span></text>
  10222.     </content>
  10223.     <content>
  10224.         <layer>card</layer>
  10225.         <id>10</id>
  10226.         <text><span class="style29">ouse Location</span><span class="style1">There is a handler that tracks the mouse, displaying the mouse location in the message box.To use it, type</span><span class="style3"> xy </span><span class="style1">in the message box.After hitting return, the handler will continuously display the mouse location in the message box, until you click the mouse.</span></text>
  10227.     </content>
  10228.     <name>Home Stack Goodies</name>
  10229.     <script>on openCardglobal theChoice, msgBoxVisput the visible of message box into msgBoxVisput empty into theChoiceshow message boxend openCardon closeCardglobal theChoice, msgBoxVisset the visible of message box to msgBoxVisselect line 0 of card field "the list"if theChoice is not empty then hide cd fld theChoicepass closeCardend closeCard</script>
  10230. </card>
  10231.  
  10232.  
  10233. card_27311.xml
  10234. <?xml version="1.0" encoding="utf-8" ?>
  10235. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10236. <card>
  10237.     <id>27311</id>
  10238.     <filler1>0</filler1>
  10239.     <cantDelete> <false /> </cantDelete>
  10240.     <showPict> <true /> </showPict>
  10241.     <dontSearch> <false /> </dontSearch>
  10242.     <owner>2759</owner>
  10243.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10244.     <part>
  10245.         <id>1</id>
  10246.         <type>field</type>
  10247.         <visible> <true /> </visible>
  10248.         <dontWrap> <false /> </dontWrap>
  10249.         <dontSearch> <false /> </dontSearch>
  10250.         <sharedText> <false /> </sharedText>
  10251.         <fixedLineHeight> <false /> </fixedLineHeight>
  10252.         <autoTab> <false /> </autoTab>
  10253.         <lockText> <true /> </lockText>
  10254.         <rect>
  10255.             <left>10</left>
  10256.             <top>54</top>
  10257.             <right>502</right>
  10258.             <bottom>333</bottom>
  10259.         </rect>
  10260.         <style>opaque</style>
  10261.         <autoSelect> <false /> </autoSelect>
  10262.         <showLines> <false /> </showLines>
  10263.         <wideMargins> <false /> </wideMargins>
  10264.         <multipleLines> <false /> </multipleLines>
  10265.         <reservedFamily> 0 </reservedFamily>
  10266.         <titleWidth>0</titleWidth>
  10267.         <icon>0</icon>
  10268.         <textAlign>center</textAlign>
  10269.         <font>Helvetica</font>
  10270.         <textSize>14</textSize>
  10271.         <textStyle>bold</textStyle>
  10272.         <textHeight>18</textHeight>
  10273.         <name></name>
  10274.         <script></script>
  10275.     </part>
  10276.     <part>
  10277.         <id>3</id>
  10278.         <type>button</type>
  10279.         <visible> <true /> </visible>
  10280.         <reserved5> 0 </reserved5>
  10281.         <reserved4> 0 </reserved4>
  10282.         <reserved3> 0 </reserved3>
  10283.         <reserved2> 0 </reserved2>
  10284.         <reserved1> 0 </reserved1>
  10285.         <enabled> <false /> </enabled>
  10286.         <rect>
  10287.             <left>377</left>
  10288.             <top>27</top>
  10289.             <right>440</right>
  10290.             <bottom>49</bottom>
  10291.         </rect>
  10292.         <style>opaque</style>
  10293.         <showName> <false /> </showName>
  10294.         <highlight> <false /> </highlight>
  10295.         <autoHighlight> <false /> </autoHighlight>
  10296.         <sharedHighlight> <true /> </sharedHighlight>
  10297.         <family>0</family>
  10298.         <titleWidth>0</titleWidth>
  10299.         <icon>0</icon>
  10300.         <textAlign>center</textAlign>
  10301.         <font>Chicago</font>
  10302.         <textSize>12</textSize>
  10303.         <textStyle>plain</textStyle>
  10304.         <name></name>
  10305.         <script></script>
  10306.     </part>
  10307.     <part>
  10308.         <id>4</id>
  10309.         <type>button</type>
  10310.         <visible> <true /> </visible>
  10311.         <reserved5> 0 </reserved5>
  10312.         <reserved4> 0 </reserved4>
  10313.         <reserved3> 0 </reserved3>
  10314.         <reserved2> 0 </reserved2>
  10315.         <reserved1> 0 </reserved1>
  10316.         <enabled> <false /> </enabled>
  10317.         <rect>
  10318.             <left>475</left>
  10319.             <top>27</top>
  10320.             <right>501</right>
  10321.             <bottom>49</bottom>
  10322.         </rect>
  10323.         <style>transparent</style>
  10324.         <showName> <false /> </showName>
  10325.         <highlight> <false /> </highlight>
  10326.         <autoHighlight> <false /> </autoHighlight>
  10327.         <sharedHighlight> <true /> </sharedHighlight>
  10328.         <family>0</family>
  10329.         <titleWidth>0</titleWidth>
  10330.         <icon>0</icon>
  10331.         <textAlign>center</textAlign>
  10332.         <font>Chicago</font>
  10333.         <textSize>12</textSize>
  10334.         <textStyle>plain</textStyle>
  10335.         <name></name>
  10336.         <script></script>
  10337.     </part>
  10338.     <content>
  10339.         <layer>card</layer>
  10340.         <id>1</id>
  10341.         <text><span class="style1"></span><span class="style13">THE END</span><span class="style1">Click the Index button above to return to the Index card.</span></text>
  10342.     </content>
  10343.     <name></name>
  10344.     <script></script>
  10345. </card>
  10346.  
  10347.  
  10348. card_14805.xml
  10349. <?xml version="1.0" encoding="utf-8" ?>
  10350. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10351. <card>
  10352.     <id>14805</id>
  10353.     <filler1>0</filler1>
  10354.     <bitmap>BMAP_15522.pbm</bitmap>
  10355.     <cantDelete> <false /> </cantDelete>
  10356.     <showPict> <true /> </showPict>
  10357.     <dontSearch> <false /> </dontSearch>
  10358.     <owner>14401</owner>
  10359.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10360.     <name>NCMC</name>
  10361.     <script></script>
  10362. </card>
  10363.  
  10364.  
  10365. card_15187.xml
  10366. <?xml version="1.0" encoding="utf-8" ?>
  10367. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10368. <card>
  10369.     <id>15187</id>
  10370.     <filler1>0</filler1>
  10371.     <bitmap>BMAP_17267.pbm</bitmap>
  10372.     <cantDelete> <false /> </cantDelete>
  10373.     <showPict> <true /> </showPict>
  10374.     <dontSearch> <false /> </dontSearch>
  10375.     <owner>14401</owner>
  10376.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10377.     <name>PD Lib</name>
  10378.     <script></script>
  10379. </card>
  10380.  
  10381.  
  10382. card_20001.xml
  10383. <?xml version="1.0" encoding="utf-8" ?>
  10384. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10385. <card>
  10386.     <id>20001</id>
  10387.     <filler1>0</filler1>
  10388.     <cantDelete> <false /> </cantDelete>
  10389.     <showPict> <true /> </showPict>
  10390.     <dontSearch> <false /> </dontSearch>
  10391.     <owner>19194</owner>
  10392.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10393.     <name>Chart0</name>
  10394.     <script></script>
  10395. </card>
  10396.  
  10397.  
  10398. card_17842.xml
  10399. <?xml version="1.0" encoding="utf-8" ?>
  10400. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10401. <card>
  10402.     <id>17842</id>
  10403.     <filler1>0</filler1>
  10404.     <bitmap>BMAP_18700.pbm</bitmap>
  10405.     <cantDelete> <false /> </cantDelete>
  10406.     <showPict> <true /> </showPict>
  10407.     <dontSearch> <false /> </dontSearch>
  10408.     <owner>19194</owner>
  10409.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10410.     <name>Chart1</name>
  10411.     <script></script>
  10412. </card>
  10413.  
  10414.  
  10415. card_18340.xml
  10416. <?xml version="1.0" encoding="utf-8" ?>
  10417. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10418. <card>
  10419.     <id>18340</id>
  10420.     <filler1>0</filler1>
  10421.     <bitmap>BMAP_4407.pbm</bitmap>
  10422.     <cantDelete> <false /> </cantDelete>
  10423.     <showPict> <true /> </showPict>
  10424.     <dontSearch> <false /> </dontSearch>
  10425.     <owner>19194</owner>
  10426.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10427.     <name>Chart2</name>
  10428.     <script></script>
  10429. </card>
  10430.  
  10431.  
  10432. card_13016.xml
  10433. <?xml version="1.0" encoding="utf-8" ?>
  10434. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10435. <card>
  10436.     <id>13016</id>
  10437.     <filler1>0</filler1>
  10438.     <bitmap>BMAP_19487.pbm</bitmap>
  10439.     <cantDelete> <false /> </cantDelete>
  10440.     <showPict> <true /> </showPict>
  10441.     <dontSearch> <false /> </dontSearch>
  10442.     <owner>19194</owner>
  10443.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10444.     <name>Chart3</name>
  10445.     <script></script>
  10446. </card>
  10447.  
  10448.  
  10449. card_18538.xml
  10450. <?xml version="1.0" encoding="utf-8" ?>
  10451. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10452. <card>
  10453.     <id>18538</id>
  10454.     <filler1>0</filler1>
  10455.     <bitmap>BMAP_19956.pbm</bitmap>
  10456.     <cantDelete> <false /> </cantDelete>
  10457.     <showPict> <true /> </showPict>
  10458.     <dontSearch> <false /> </dontSearch>
  10459.     <owner>19194</owner>
  10460.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10461.     <name>Chart4</name>
  10462.     <script></script>
  10463. </card>
  10464.  
  10465.  
  10466. card_27684.xml
  10467. <?xml version="1.0" encoding="utf-8" ?>
  10468. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10469. <card>
  10470.     <id>27684</id>
  10471.     <filler1>0</filler1>
  10472.     <bitmap>BMAP_28358.pbm</bitmap>
  10473.     <cantDelete> <false /> </cantDelete>
  10474.     <showPict> <true /> </showPict>
  10475.     <dontSearch> <false /> </dontSearch>
  10476.     <owner>27928</owner>
  10477.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10478.     <part>
  10479.         <id>2</id>
  10480.         <type>field</type>
  10481.         <visible> <true /> </visible>
  10482.         <dontWrap> <false /> </dontWrap>
  10483.         <dontSearch> <false /> </dontSearch>
  10484.         <sharedText> <false /> </sharedText>
  10485.         <fixedLineHeight> <false /> </fixedLineHeight>
  10486.         <autoTab> <false /> </autoTab>
  10487.         <lockText> <true /> </lockText>
  10488.         <rect>
  10489.             <left>64848</left>
  10490.             <top>127</top>
  10491.             <right>12</right>
  10492.             <bottom>179</bottom>
  10493.         </rect>
  10494.         <style>opaque</style>
  10495.         <autoSelect> <false /> </autoSelect>
  10496.         <showLines> <false /> </showLines>
  10497.         <wideMargins> <true /> </wideMargins>
  10498.         <multipleLines> <false /> </multipleLines>
  10499.         <reservedFamily> 0 </reservedFamily>
  10500.         <titleWidth>0</titleWidth>
  10501.         <icon>0</icon>
  10502.         <textAlign>center</textAlign>
  10503.         <font>Helvetica</font>
  10504.         <textSize>48</textSize>
  10505.         <textStyle>bold</textStyle>
  10506.         <textHeight>64</textHeight>
  10507.         <name></name>
  10508.         <script></script>
  10509.     </part>
  10510.     <content>
  10511.         <layer>card</layer>
  10512.         <id>2</id>
  10513.         <text>Welcome to MacWorld Expo</text>
  10514.     </content>
  10515.     <name>Moving Field</name>
  10516.     <script></script>
  10517. </card>
  10518.  
  10519.  
  10520. card_31587.xml
  10521. <?xml version="1.0" encoding="utf-8" ?>
  10522. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10523. <card>
  10524.     <id>31587</id>
  10525.     <filler1>0</filler1>
  10526.     <bitmap>BMAP_32496.pbm</bitmap>
  10527.     <cantDelete> <false /> </cantDelete>
  10528.     <showPict> <true /> </showPict>
  10529.     <dontSearch> <false /> </dontSearch>
  10530.     <owner>27928</owner>
  10531.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10532.     <name>Map</name>
  10533.     <script></script>
  10534. </card>
  10535.  
  10536.  
  10537. card_24974.xml
  10538. <?xml version="1.0" encoding="utf-8" ?>
  10539. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10540. <card>
  10541.     <id>24974</id>
  10542.     <filler1>0</filler1>
  10543.     <bitmap>BMAP_8733.pbm</bitmap>
  10544.     <cantDelete> <false /> </cantDelete>
  10545.     <showPict> <true /> </showPict>
  10546.     <dontSearch> <false /> </dontSearch>
  10547.     <owner>4079</owner>
  10548.     <link rel="stylesheet" type="text/css" href="stylesheet_10328.css" />
  10549.     <part>
  10550.         <id>24</id>
  10551.         <type>button</type>
  10552.         <visible> <true /> </visible>
  10553.         <reserved5> 0 </reserved5>
  10554.         <reserved4> 0 </reserved4>
  10555.         <reserved3> 0 </reserved3>
  10556.         <reserved2> 0 </reserved2>
  10557.         <reserved1> 0 </reserved1>
  10558.         <enabled> <true /> </enabled>
  10559.         <rect>
  10560.             <left>380</left>
  10561.             <top>30</top>
  10562.             <right>437</right>
  10563.             <bottom>46</bottom>
  10564.         </rect>
  10565.         <style>transparent</style>
  10566.         <showName> <false /> </showName>
  10567.         <highlight> <false /> </highlight>
  10568.         <autoHighlight> <true /> </autoHighlight>
  10569.         <sharedHighlight> <true /> </sharedHighlight>
  10570.         <family>0</family>
  10571.         <titleWidth>0</titleWidth>
  10572.         <icon>0</icon>
  10573.         <textAlign>center</textAlign>
  10574.         <font>Chicago</font>
  10575.         <textSize>12</textSize>
  10576.         <textStyle>condense</textStyle>
  10577.         <name>Go Back</name>
  10578.         <script>on mouseUpvisual effect barn door closepop cardend mouseUp</script>
  10579.     </part>
  10580.     <part>
  10581.         <id>26</id>
  10582.         <type>field</type>
  10583.         <visible> <true /> </visible>
  10584.         <dontWrap> <false /> </dontWrap>
  10585.         <dontSearch> <false /> </dontSearch>
  10586.         <sharedText> <false /> </sharedText>
  10587.         <fixedLineHeight> <false /> </fixedLineHeight>
  10588.         <autoTab> <false /> </autoTab>
  10589.         <lockText> <true /> </lockText>
  10590.         <rect>
  10591.             <left>20</left>
  10592.             <top>65</top>
  10593.             <right>245</right>
  10594.             <bottom>328</bottom>
  10595.         </rect>
  10596.         <style>opaque</style>
  10597.         <autoSelect> <false /> </autoSelect>
  10598.         <showLines> <false /> </showLines>
  10599.         <wideMargins> <false /> </wideMargins>
  10600.         <multipleLines> <false /> </multipleLines>
  10601.         <reservedFamily> 0 </reservedFamily>
  10602.         <titleWidth>0</titleWidth>
  10603.         <icon>0</icon>
  10604.         <textAlign>left</textAlign>
  10605.         <font>Geneva</font>
  10606.         <textSize>9</textSize>
  10607.         <textStyle>plain</textStyle>
  10608.         <textHeight>12</textHeight>
  10609.         <name></name>
  10610.         <script></script>
  10611.     </part>
  10612.     <part>
  10613.         <id>27</id>
  10614.         <type>field</type>
  10615.         <visible> <true /> </visible>
  10616.         <dontWrap> <false /> </dontWrap>
  10617.         <dontSearch> <false /> </dontSearch>
  10618.         <sharedText> <false /> </sharedText>
  10619.         <fixedLineHeight> <false /> </fixedLineHeight>
  10620.         <autoTab> <false /> </autoTab>
  10621.         <lockText> <true /> </lockText>
  10622.         <rect>
  10623.             <left>267</left>
  10624.             <top>65</top>
  10625.             <right>495</right>
  10626.             <bottom>328</bottom>
  10627.         </rect>
  10628.         <style>opaque</style>
  10629.         <autoSelect> <false /> </autoSelect>
  10630.         <showLines> <false /> </showLines>
  10631.         <wideMargins> <false /> </wideMargins>
  10632.         <multipleLines> <false /> </multipleLines>
  10633.         <reservedFamily> 0 </reservedFamily>
  10634.         <titleWidth>0</titleWidth>
  10635.         <icon>0</icon>
  10636.         <textAlign>left</textAlign>
  10637.         <font>Geneva</font>
  10638.         <textSize>9</textSize>
  10639.         <textStyle>plain</textStyle>
  10640.         <textHeight>12</textHeight>
  10641.         <name></name>
  10642.         <script></script>
  10643.     </part>
  10644.     <part>
  10645.         <id>28</id>
  10646.         <type>button</type>
  10647.         <visible> <true /> </visible>
  10648.         <reserved5> 0 </reserved5>
  10649.         <reserved4> 0 </reserved4>
  10650.         <reserved3> 0 </reserved3>
  10651.         <reserved2> 0 </reserved2>
  10652.         <reserved1> 0 </reserved1>
  10653.         <enabled> <false /> </enabled>
  10654.         <rect>
  10655.             <left>443</left>
  10656.             <top>26</top>
  10657.             <right>502</right>
  10658.             <bottom>50</bottom>
  10659.         </rect>
  10660.         <style>opaque</style>
  10661.         <showName> <false /> </showName>
  10662.         <highlight> <false /> </highlight>
  10663.         <autoHighlight> <false /> </autoHighlight>
  10664.         <sharedHighlight> <true /> </sharedHighlight>
  10665.         <family>0</family>
  10666.         <titleWidth>0</titleWidth>
  10667.         <icon>0</icon>
  10668.         <textAlign>center</textAlign>
  10669.         <font>Chicago</font>
  10670.         <textSize>12</textSize>
  10671.         <textStyle>plain</textStyle>
  10672.         <name></name>
  10673.         <script></script>
  10674.     </part>
  10675.     <content>
  10676.         <layer>background</layer>
  10677.         <id>1</id>
  10678.         <text>How to use this stack</text>
  10679.     </content>
  10680.     <content>
  10681.         <layer>card</layer>
  10682.         <id>26</id>
  10683.         <text><span class="style1">his stack is a catalogue of various HyperCard and HyperTalk techniques which I have found very useful. All the techniques described in this stack can be implemented in HyperTalk only, and require no XCMDs.Each technique card consists of two parts.On the left side is the explanation of what the technique is and suggestions as to where it could be used. On the right is an example of the technique; typically, you can find out how a technique works by examining the scripts of the buttons, fields, and sometimes the card script.Please e-mail comments, suggestions, andbug reports:</span><span class="style3">Genevi√®ve CrabeCompuServe: 72520,1110America Online: GCrabeInternet: aa729@freenet.carleton.ca</span><span class="style1"></span></text>
  10684.     </content>
  10685.     <content>
  10686.         <layer>card</layer>
  10687.         <id>27</id>
  10688.         <text><span class="style3">o look at scripts, proceed as follows:</span><span class="style1">For </span><span class="style3">Button Scripts</span><span class="style1">, select the button tool in the Tools menu, double-click the button, and click the Script button. Alternatively, hold down the Command and Option keys and click the button.For </span><span class="style3">Field Scripts</span><span class="style1">, select the field tool in the Tools menu, double-click the field, and click the Script button. Alternatively, hold down the Command, Option and Shift keys and click the field.For </span><span class="style3">Card Scripts</span><span class="style1">, select Card Info in the Objects menu, and click the Script button. Alternatively, hold down the Command and Option keys and press C.</span><span class="style3">                       Ottawa, May 1994</span></text>
  10689.     </content>
  10690.     <name>Help</name>
  10691.     <script></script>
  10692. </card>
  10693.  
  10694.  
  10695.